----- bool isNull(char[] str) { return str is null; } const bool test = isNull("hello!"); ----- Output: > Assertion failure: '0' on line 838 in file 'constfold.c' > > abnormal program termination Replacing "is" with "==" fixes it.
Created attachment 351 [details] Patch against DMD2.029 Another trivial one. The case where only one parameter was null had been forgotten.
Fixed dmd 1.046 and 2.031
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル