www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 863] New: Selectively importing a nonexistent identifier results in spurious and incorrect error message

reply d-bugmail puremagic.com writes:
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 digitalmars.com
        ReportedBy: deewiant 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


-- 
Jan 20 2007
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=863


deewiant gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME





Works in 1.009. I'd still prefer "std.stdio.NONEXISTENT" instead of just
"NONEXISTENT", though.


-- 
Mar 23 2007