According to the D1 spec !in should be a valid syntax, however the compiler outputs a syntax error when used. With a large enough code base the compiler crashes.
Comment #1 by repeatedly — 2010-05-26T12:19:09Z
I think D1 spec is incorrect. "!in" isn't listed at D1 changelog.
Comment #2 by smjg — 2010-05-27T18:56:52Z
The spec is a more authoritative source than the changelog.
But still, changelogs should be complete. A particular problem occurs if something's noted in the changelog, but then later it is reverted without being noted in the changelog. See issue 926 for an example.
Comment #3 by clugdbug — 2010-06-01T07:02:14Z
Do you have a test case for the crash?
Comment #4 by dbugs2 — 2010-06-02T13:57:00Z
I should not have posted about that crash in this report because it's probably unrelated to !in. The way I can reproduce it in my code is if I modify a string mixin from !(something in arr) to something !in arr. I have not tried to make a minimal test case for it but a single const string with a mixin statement might be enough.
Comment #5 by clugdbug — 2010-06-04T06:06:42Z
Removing the ICE keyword from this bug since it has no test case. I have tried many times to reproduce a crash, but there's no enough information.
Comment #6 by github-bugzilla — 2012-01-23T17:56:48Z