Bug: Crash: nested interfaces
JS
js.mdnq at gmail.com
Sat Jul 13 08:33:29 PDT 2013
module main;
import std.stdio, std.cstream;
interface A : A.B
{
interface B { }
}
int main(string[] argv)
{
return 0;
}
One can argue about the validity of the code, I tried it to
created logical heirarchy of interfaces.
e.g., instead of interface Name : NameExtension; interface
NameExtension; I wanted Name.Extension for NameExtension. This
would make it easier logically nest interfaces(it would be better
to not use "." though).
In any case, regardless, it causes dmd 2.062 to crash.
More information about the Digitalmars-d
mailing list