http://d.puremagic.com/issues/show_bug.cgi?id=9514
--- Comment #6 from Kenji Hara <k.hara...@gmail.com> 2013-02-15 20:52:35 PST --- (In reply to comment #4) (In reply to comment #5) > A smaller case: > ---------------- > template TStructHelpers() { > > void opEquals(Foo) { > FieldNames!(); > } > } > > > struct Foo { > mixin TStructHelpers!(); > } > > import std.algorithm : find; > > template FieldNames() { > static if (find!`true`) int FieldNames; > } Hmm, maybe the root cause is the combination of selective import and unresolved forward reference. Looks like "Merge pull request #1543" was a trigger for put it in the table. Technically, current "selective/renamed import" makes anonymous import declaration and alias declaration. They have no internal relation, so forward reference resolution is done separately. BUT, it should be together. Yet I don't know well about the import mechanism. I need a bit more time to fix it... -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------