import std.string; const uint VERSION_MAJOR = 0, VERSION_MINOR = 10, VERSION_PATCH = 2; const char[] VERSION_STRING = "Ddbg "~.toString(VERSION_MAJOR)~"."~(VERSION_MINOR>9?"":"0")~.toString(VERSION_MINOR) ~(VERSION_PATCH>0?"."~.toString(VERSION_PATCH):"")~" beta"; void main() {}
Brought it down to this, nothing to do with strings but rather with the attempted and failing CTFE of toString (here simplified and renamed f): int f() { // this also causes the crash: // int[] a = void; int[1] a = void; a[0] = 1; return 1; } const i = f(); It's probably dependent on Issue 1254, but they're subtly different so I won't set it as a dependency.
Fixed in DMD 1.017.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル