[Issue 11662] Template constraint evaluation should not look eponymous template function parameters if it's unnecessary

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 31 10:52:06 UTC 2023


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

Nick Treleaven <nick at geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick at geany.org

--- Comment #2 from Nick Treleaven <nick at geany.org> ---
Still doesn't work:

temcons.d(17): Error: template instance `temcons.gc_free2!int` does not match
template declaration `gc_free2(T)(Type data)`

And you can't even alias the template instance:

alias a = gc_free2!int; // same error

--


More information about the Digitalmars-d-bugs mailing list