void foo(uint v:0, string op)() { pragma(msg, "specialized"); } void foo(uint v, string op)() { pragma(msg, "unspecialized"); } void main() { foo!(0u, "+")(); } --- This will give a false error to be ambiguous. It happens due to unintended sharing of global state when creating dummy expressions during partial ordering.
https://github.com/D-Programming-Language/dmd/commit/4c038aefe424d8c5e75530b43da0c29226acfa99 https://github.com/D-Programming-Language/dmd/commit/75553e38303b94c953209546aa11b8b1d5461b01
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル