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.
I think D1 spec is incorrect. "!in" isn't listed at D1 changelog.
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.
Do you have a test case for the crash?
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.
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.
Commit pushed to https://github.com/D-Programming-Language/d-programming-language.org https://github.com/D-Programming-Language/d-programming-language.org/commit/e5a601f2000c61b56f7ddcfa722d8c875556cf53 fix Issue 4235
!in was never intended for D1, I removed it from the spec.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル