[Issue 1392] Templates w/ forwd refs fail when in separate modules.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jul 31 13:47:06 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1392
------- Comment #2 from cdunn2001 at gmail.com 2007-07-31 15:47 -------
This gets weirder and weirder. This works:
dmd -c fooA.d fooFoo.d
but this does not:
dmd -c fooFoo.d fooA.d
fooA.d(10): template instance forward reference to template declaration Foo(T)
fooA.d(10): Error: Foo!(char) is used as a type
The order of files on the compilation line makes a difference?!
--
More information about the Digitalmars-d-bugs
mailing list