[Bug 102] New: Forward reference nested class wheel.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 11 12:42:31 PDT 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=102
Summary: Forward reference nested class wheel.
Product: D
Version: 0.153
Platform: Other
URL: http://www.digitalmars.com/d/archives/digitalmars/D/bugs
/6614.html
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: dawid.ciezarkiewicz at gmail.com
$ cat test.d
import test2;
class X {
Y.NY t;
static class NX {
}
}
$ cat test2.d
import test;
class Y {
X.NX nx;
static class NY {
}
}
$ dmd -c test2.d test.d
test2.d(3): class test2.Y is forward referenced when looking for 'NY'
test2.d(3): class test2.Y is forward referenced when looking for 'NY'
(...)
$ dmd -c test.d test2.d
test.d(3): class test.X is forward referenced when looking for 'NX'
test.d(3): class test.X is forward referenced when looking for 'NX'
(...)
--
More information about the Digitalmars-d-bugs
mailing list