[Issue 21806] Overload selection ignores slice

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 7 08:55:08 UTC 2021


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

Temtaime <temtaime at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #3 from Temtaime <temtaime at gmail.com> ---
A slice is taken from argument, it is not original ubyte[16].
If i create temp variable à-la 

auto tmp = arr[];
bar(tmp);

then correct overload is used

--


More information about the Digitalmars-d-bugs mailing list