[Issue 14722] Improve "<template> is used as a type" error message

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 8 12:29:51 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=14722

Nick Treleaven <nick at geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |nick at geany.org
         Resolution|---                         |FIXED

--- Comment #1 from Nick Treleaven <nick at geany.org> ---
My recently merged pull fixes this, now you should see:

Error: template class `test.Foo()` is used as a type without instantiation; to
instantiate it use `Foo!(arguments)`

https://github.com/dlang/dmd/pull/7769

--


More information about the Digitalmars-d-bugs mailing list