[Issue 10598] New: Using not-imported type - AssertFail: 'global.errors' line 6040 'template.c'
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jul 10 11:14:35 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10598
Summary: Using not-imported type - AssertFail: 'global.errors'
line 6040 'template.c'
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: qaston at gmail.com
--- Comment #0 from QAston <qaston at gmail.com> 2013-07-10 11:14:33 PDT ---
To trigger the assert we need 2 modules:
module a.notimported;
struct LocalType {
}
module a.app;
import std.typetuple;
alias TypeTuple!(__traits(getMember, a.notimported,(__traits(allMembers,
a.notimported)[1])))[0] notImportedType;
Modules have to create a hierarchy like this, at least it appears this way.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list