[Issue 20576] TemplateTypeParameter and TemplateValueParameter default values are not checked

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 12 00:22:21 UTC 2020


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

Mathias LANG <pro.mathias.lang at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pro.mathias.lang at gmail.com

--- Comment #2 from Mathias LANG <pro.mathias.lang at gmail.com> ---
I'm not sure that's an issue.

In trivial cases like this the code is obviously wrong, but the only way we're
going to realistically catch all these is by always instantiating the template
with default parameters, which is 1) not always possible, 2) a waste of
compilation time.

--


More information about the Digitalmars-d-bugs mailing list