[Issue 10334] ddoc should prefer simple syntax for template instantiations with one parameter

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 17 18:56:14 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10334



--- Comment #8 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-06-17 18:56:13 PDT ---
(In reply to comment #7)
> (In reply to comment #6)
> 
> > I think the diagnostics can be improved. Could you file a separate bug for it?
> 
> I have compiled the compiler with this last change, and indeed there is no need
> to file a bug, the error message now is:
> 
> 
> temp.d(7): Error: template instance Foo!int does not match template declaration
> Foo(T) if (isBar!T)

Ah yes, my bad. I used the wrong version when testing it now.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list