This D2 code is wrong: void foo(T)(T x) if (is(T == int)) { if (!is(T == float)) { } void main() { foo(1); } The dmd 2.043 compiler+linker spit out: OPTLINK (R) for Win32 Release 8.00.2 Copyright (C) Digital Mars 1989-2009 All rights reserved. http://www.digitalmars.com/ctg/optlink.html OPTLINK : Warning 23: No Stack OPTLINK : Warning 134: No Start Address
You missed out a brace, patch in BUG 4084 should prevent this from compiling. *** This issue has been marked as a duplicate of issue 4084 ***
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル