[Issue 8316] Regression with template functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 29 16:43:19 PDT 2012


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


Jonathan M Davis <jmdavisProg at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg at gmx.com


--- Comment #3 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-06-29 16:45:53 PDT ---
> 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.

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