[Issue 7680] template specialization bug
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Feb 28 18:24:53 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=7680
Nick Treleaven <nick at geany.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
--- Comment #2 from Nick Treleaven <nick at geany.org> ---
With only the top overload present, the code compiles even though the argument
is `Bar!int`, not `Bar!(const int)`:
> template Foo26(T:Bar!(const T))
--
More information about the Digitalmars-d-bugs
mailing list