auto interfaceについて調べようと思ったら下のコードでdmdが死んだ.
import std.stdio; interface A {} void main() { A x; writefln(x); }
C:\D\dmd\windows\bin\..\..\src\phobos\std\format.d(2050): Error: no property 'toString' for type 'a.A'
C:\D\dmd\windows\bin\..\..\src\phobos\std\format.d(2051): template std.stdio.PrivateFileWriter!(char).PrivateFileWriter.write(C) does not match any function template declaration
C:\D\dmd\windows\bin\..\..\src\phobos\std\format.d(2051): template std.stdio.PrivateFileWriter!(char).PrivateFileWriter.write(C) cannot deduce template function from argument types !()(int)
ここでdmdがアクセス違反であぼーん.
さて,報告するか.