[Issue 12400] New: Misleading/useless diagnostic on bad fully-qualified symbol name

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 18 04:31:51 PDT 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12400

           Summary: Misleading/useless diagnostic on bad fully-qualified
                    symbol name
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: diagnostic
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: thecybershadow at gmail.com


--- Comment #0 from Vladimir Panteleev <thecybershadow at gmail.com> 2014-03-18 13:31:50 EET ---
//////////// test.d ////////////
import std.typecons;

alias std.typecons.Unqual!int X;
////////////////////////////////

Compiler output:

test.d(1,8): Error: import typecons template identifier 'Unqual' is not a
member of 'import typecons'
test.d(1,8): Error: import typecons template identifier 'Unqual' is not a
member of 'import typecons'
test.d(3,31): Error: undefined identifier 'Unqual'

The first two lines are misleading and useless.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list