[Issue 8316] Regression with template functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 29 16:45:23 PDT 2012


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



--- Comment #4 from timon.gehr at gmx.ch 2012-06-29 16:47:38 PDT ---
(In reply to comment #3)
> > Isn't it a function call where the parens were left out?
> 
> It would be if the functions didn't have any parameters, but they both do, so I
> don't know quite what the compiler thinks that it is.
> 
> Regardless, lol!"rulez" results in a function named lol which takes a single
> string argument when there's already such a function (albeit non-templated)
> which exists. It's clearly a conflict no matter what you're trying to do with
> it.

I think you might have missed the second set of parentheses on the first
template function declaration.

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