[Issue 19959] Eponymous template FQN's re-state the template name
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Aug 30 15:53:09 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=19959
Rainer Schuetze <r.sagitario at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|visuald |dmd
--- Comment #5 from Rainer Schuetze <r.sagitario at gmx.de> ---
I think removing the duplicate template name can be done in error messages,
too, e.g.:
void foo(T)(T x)
{
}
void main()
{
foo!int();
}
test.d(8): Error: function `test.foo!int.foo(int x)` is not callable using
argument types `()`
test.d(8): missing argument for parameter #1: `int x`
Changing this in Dsymbol.prettyChars() would probably propagate to the debug
info.
Reassigning to dmd...
--
More information about the Digitalmars-d-bugs
mailing list