May be related to 1113 and others ---- template Tuple(A...) { alias A Tuple; } template Foo() { mixin ("alias Tuple!(1) tuple;"); static if (tuple[0] == 1) { } } alias Foo!() foo; ---- test.d(13): Error: undefined identifier tuple Add an intermediate alias to work around it: ---- template Foo() { mixin ("alias Tuple!(1) tuple;"); alias tuple betterTuple; static if (betterTuple[0] == 1) { } } ----
Fixed dmd 1.031 and 2.015
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル