We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c67b88 commit f01e537Copy full SHA for f01e537
src/dparse/parser.d
@@ -8400,7 +8400,7 @@ protected: final:
8400
immutable b = setBookmark();
8401
scope(exit) goToBookmark(b);
8402
advance();
8403
- immutable bool result = !currentIs(tok!"]") && parseExpression() !is null && currentIs(tok!":");
+ immutable bool result = !currentIs(tok!"]") && parseAssignExpression() !is null && currentIs(tok!":");
8404
cachedAAChecks[currentIndex] = result;
8405
return result;
8406
}
0 commit comments