[Issue 863] New: Selectively importing a nonexistent identifier results in spurious and incorrect error message

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 20 13:14:31 PST 2007


http://d.puremagic.com/issues/show_bug.cgi?id=863

           Summary: Selectively importing a nonexistent identifier results
                    in spurious and incorrect error message
           Product: D
           Version: 1.00
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: trivial
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: deewiant at gmail.com


import std.stdio : NONEXISTENT;

The above code, when compiled, results in the following two errors, of which
the first should probably read "identifier std.stdio.NONEXISTENT" instead of
"import NONEXISTENT", and the latter should not even be there.

asdf.d(1): import NONEXISTENT not found
asdf.d(1): alias asdf.NONEXISTENT recursive alias declaration


-- 



More information about the Digitalmars-d-bugs mailing list