int[] test(int[2] x) { return x; } Gives (with dmd 1.005 and later): Error: escaping reference to local x Since static arrays (at least in Dv1) are passed by reference, the x above wouldn't be local. The sample compiles fine with all D versions (that I've tested) up to and including 1.004. The regression was probably introduced by fixing issue 890.
Fixed in 1.017.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル