[Issue 16022] New: dmd assertion failure due to misplaced comma operator
digitalmars-d-bugs at puremagic.com
Fri May 13 11:42:40 PDT 2016
Issue ID: 16022
Summary: dmd assertion failure due to misplaced comma operator
OS: Mac OS X
Assignee: nobody at puremagic.com
Reporter: mail at skoppe.eu
I changed something in my code to:
token.type == Type.Colon, // Typo: wanted logical operator instead
token.type == Type.Comma);
And I suddenly got this back from dmd:
linkage = 0
Assertion failed: (0), function visit, file tocsym.c, line 246.
dmd failed with exit code -6.
In the function foo I wanted to type || instead of the comma. Regardless, it
shouldn't fail with an assertion.
More information about the Digitalmars-d-bugs