Fails to compile with: Error: cannot modify final variable 'baz'. ---- final class Foo() { void bar() { int baz; baz = 1; } } void main() { auto foo = new Foo!(); } ---- The workaround is to define the template in full: ---- template Foo() { final class Foo { void bar() { int baz; baz = 1; } } } ----
Fixed dmd 1.028
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル