@@ -392,23 +392,23 @@ GithubIssue[] getGithubIssuesRest(const string project, const string repo
392392 {
393393 GithubIssue tmp;
394394 {
395- JSONValue* mem = " number" in it;
395+ const ( JSONValue) * mem = " number" in it;
396396 enforce(mem ! is null , it.toPrettyString()
397397 ~ " \n must contain 'number'" );
398398 enforce((* mem).type == JSONType.integer, (* mem).toPrettyString()
399399 ~ " \n 'number' must be an integer" );
400400 tmp.number = (* mem).get ! int ();
401401 }
402402 {
403- JSONValue* mem = " title" in it;
403+ const ( JSONValue) * mem = " title" in it;
404404 enforce(mem ! is null , it.toPrettyString()
405405 ~ " \n must contain 'title'" );
406406 enforce((* mem).type == JSONType.string , (* mem).toPrettyString()
407407 ~ " \n 'title' must be an string" );
408408 tmp.title = (* mem).get ! string ();
409409 }
410410 {
411- JSONValue* mem = " body" in it;
411+ const ( JSONValue) * mem = " body" in it;
412412 enforce(mem ! is null , it.toPrettyString()
413413 ~ " \n must contain 'body'" );
414414 if ((* mem).type == JSONType.string )
@@ -419,7 +419,7 @@ GithubIssue[] getGithubIssuesRest(const string project, const string repo
419419 }
420420 }
421421 {
422- JSONValue* mem = " closed_at" in it;
422+ const ( JSONValue) * mem = " closed_at" in it;
423423 enforce(mem ! is null , it.toPrettyString()
424424 ~ " \n must contain 'closed_at'" );
425425 enforce((* mem).type == JSONType.string , (* mem).toPrettyString()
@@ -431,7 +431,7 @@ GithubIssue[] getGithubIssuesRest(const string project, const string repo
431431 tmp.closedAt = DateTime .fromISOExtString(d);
432432 }
433433 {
434- JSONValue* mem = " labels" in it;
434+ const ( JSONValue) * mem = " labels" in it;
435435 tmp.type = " bug fixes" ;
436436 if (mem ! is null )
437437 {
@@ -443,7 +443,7 @@ GithubIssue[] getGithubIssuesRest(const string project, const string repo
443443 {
444444 enforce(l.type == JSONType.object, l.toPrettyString()
445445 ~ " \n must be an object" );
446- JSONValue* lbl = " name" in l;
446+ const ( JSONValue) * lbl = " name" in l;
447447 enforce(lbl ! is null , it.toPrettyString()
448448 ~ " \n must contain 'name'" );
449449 enforce((* lbl).type == JSONType.string , (* lbl).toPrettyString()
0 commit comments