[Issue 22119] [Functions] Function Overloading clarity for int[] and strings

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 30 20:43:56 UTC 2021


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

--- Comment #2 from crazymonkyyy at gmail.com ---
(In reply to mhh from comment #1)
> Is this not implied by the existing overload matching rules?

You were part of the conversation on discord and didnt see it either?
its implied if I understand the rules, but unclear.
the implicit int to char and char[] being close enough to strings was very
surprising given a foo(intT)(intT[3]) and foo(string) overloads

--


More information about the Digitalmars-d-bugs mailing list