[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:55:05 PDT 2013


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



--- Comment #7 from bearophile_hugs at eml.cc 2013-06-17 18:55:03 PDT ---
(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)

-- 
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