Code: template t() { alias Object t; } pragma(msg, t!().stringof); Compiler output: bug.d(2): Error: undefined identifier class Object.stringof bug.d(2): pragma msg string expected for message, not 'class Object.stringof' ---- t!() should return type 'Object' which is a valid type and for which .stringof exists. For example this works: alias Object t; pragma(msg, t.stringof);
Fixed DMD 1.018 and DMD 2.002
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル