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

Johannes Nordhoff <mephi...@nordhoff-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #2 from Johannes Nordhoff <mephi...@nordhoff-online.de> ---
> > the compiler was using the same name for multiple
> > template-definitions.
>
> I don't understand what you mean by this. If you still think the compiler 
> should do something differently here, please feel free to reopen.
>

yeah, the error message should say:
----
sth.d(11): Error: sth.tmpl called with argument types () matches both:
sth.d(6):     sth.tmpl!(SS).tmpl()
and:
sth.d(7):     sth.tmpl!(tt).tmpl()
----

but instead it says:
----
sth.d(11): Error: sth.tmpl called with argument types () matches both:
sth.d(6):     sth.tmpl!(SS).tmpl()
and:
sth.d(7):     sth.tmpl!(SS).tmpl()
----

--

Reply via email to