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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Vladimir Panteleev <[email protected]> 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: -------