[Issue 8447] New: Self importing is allowed?
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jul 26 13:59:16 PDT 2012
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: nobody at puremagic.com
ReportedBy: dmitry.olsh at gmail.com
--- Comment #0 from Dmitry Olshansky <dmitry.olsh at gmail.com> 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: -------
More information about the Digitalmars-d-bugs
mailing list