@@ -392,23 +392,23 @@ GithubIssue[] getGithubIssuesRest(const string project, const string repo
392
392
{
393
393
GithubIssue tmp;
394
394
{
395
- JSONValue* mem = " number" in it;
395
+ const ( JSONValue) * mem = " number" in it;
396
396
enforce(mem ! is null , it.toPrettyString()
397
397
~ " \n must contain 'number'" );
398
398
enforce((* mem).type == JSONType.integer, (* mem).toPrettyString()
399
399
~ " \n 'number' must be an integer" );
400
400
tmp.number = (* mem).get ! int ();
401
401
}
402
402
{
403
- JSONValue* mem = " title" in it;
403
+ const ( JSONValue) * mem = " title" in it;
404
404
enforce(mem ! is null , it.toPrettyString()
405
405
~ " \n must contain 'title'" );
406
406
enforce((* mem).type == JSONType.string , (* mem).toPrettyString()
407
407
~ " \n 'title' must be an string" );
408
408
tmp.title = (* mem).get ! string ();
409
409
}
410
410
{
411
- JSONValue* mem = " body" in it;
411
+ const ( JSONValue) * mem = " body" in it;
412
412
enforce(mem ! is null , it.toPrettyString()
413
413
~ " \n must contain 'body'" );
414
414
if ((* mem).type == JSONType.string )
@@ -419,7 +419,7 @@ GithubIssue[] getGithubIssuesRest(const string project, const string repo
419
419
}
420
420
}
421
421
{
422
- JSONValue* mem = " closed_at" in it;
422
+ const ( JSONValue) * mem = " closed_at" in it;
423
423
enforce(mem ! is null , it.toPrettyString()
424
424
~ " \n must contain 'closed_at'" );
425
425
enforce((* mem).type == JSONType.string , (* mem).toPrettyString()
@@ -431,7 +431,7 @@ GithubIssue[] getGithubIssuesRest(const string project, const string repo
431
431
tmp.closedAt = DateTime .fromISOExtString(d);
432
432
}
433
433
{
434
- JSONValue* mem = " labels" in it;
434
+ const ( JSONValue) * mem = " labels" in it;
435
435
tmp.type = " bug fixes" ;
436
436
if (mem ! is null )
437
437
{
@@ -443,7 +443,7 @@ GithubIssue[] getGithubIssuesRest(const string project, const string repo
443
443
{
444
444
enforce(l.type == JSONType.object, l.toPrettyString()
445
445
~ " \n must be an object" );
446
- JSONValue* lbl = " name" in l;
446
+ const ( JSONValue) * lbl = " name" in l;
447
447
enforce(lbl ! is null , it.toPrettyString()
448
448
~ " \n must contain 'name'" );
449
449
enforce((* lbl).type == JSONType.string , (* lbl).toPrettyString()
0 commit comments