[Issue 24656] enums with explicit EnumBaseType incorrectly matching multiple overloads.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jul 9 22:23:46 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24656
--- Comment #3 from basile-z <b2.temp at gmx.com> ---
This looks invalid to me. Implcit conversions between signed and unsigned
allows things like
```
void main(){
byte a;
a = ubyte(255);
}
```
Problem in the original report is more about signess but signess does not play
a role in overload resolution.
--
More information about the Digitalmars-d-bugs
mailing list