https://issues.dlang.org/show_bug.cgi?id=14722
Issue ID: 14722
Summary: Improve "<template> is used as a type" error message
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: diagnostic
Severity: enhancement
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
class Foo() {}
Foo f;
Currently, the compiler says:
test.d(2,5): Error: class test.Foo() is used as a type
It should mention that test.Foo() is a template.
--
