http://d.puremagic.com/issues/show_bug.cgi?id=8447
Summary: Self importing is allowed?
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Dmitry Olshansky <[email protected]> 2012-07-26
13:59:15 PDT ---
Program:
module huh;
import huh;
compiles alright.
However the same thing in a bigger project cased spurious forward references
around std.conv.text. (Sorry failed to reduce.)
Shouldn't compiler just statically disallow self-importing ?
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------