In the first example block of the "Attributes" page of the spec, the "attribute:" syntax is noted as "affects all declarations until the next }". This is incorrect, since the innermost braces may be of the non-scoping variety. For instance: --- // These extern(X) attributes are applied until the end of the file version(Windows) { extern(Windows): } else { extern(C): } --- Also, there may not be any enclosing braces at all if it's at module-level. I think that text should be changed to something like "affects all declarations until the end of the current scope".
Fixed DMD 1.013
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル