// test.d // class C { class D { } } class E:C.D { } /////////// test.d(8,1): Error: class test.E is nested within test, but super class D is nested within C
Bang? Anyone? not just nested classes but within functions void foo() { class C { } } C cannot be used. foo could be main.
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18989 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB