This only happens when the catch block is null - when the body statement is dropped by semantic. There are probably other ways to get this. int test7544() { try { throw new Exception(""); } catch (Exception e) static assert(1); return 1; } static assert(test7544());
https://github.com/D-Programming-Language/dmd/pull/737
Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/4a36b2d3c15c83b47d39173ac150d1fad500273c Merge pull request #737 from yebblies/issue7544 Issue 7544 - ICE(interpret.c) Catching an exception with a null catch block
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/bdde56fbd14989d099ebeeeb0b5a2ad1377e3979 fix Issue 7544 - ICE(interpret.c) Catching an exception with a null catch block
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル