[Issue 9042] New: Self-import with mixin
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 17 13:00:58 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9042
Summary: Self-import with mixin
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: freeslave93 at gmail.com
--- Comment #0 from Roman <freeslave93 at gmail.com> 2012-11-17 13:00:57 PST ---
This code will cause infinite compilation if name of file is "hello.d"
int main(string[] args)
{
mixin(import("hello.d")); //import itself
return 0;
}
--
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