[Issue 19883] Cyclic constructor call for BigInt(dstring)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun May 19 02:29:29 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=19883
Basile-z <b2.temp at gmx.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |b2.temp at gmx.com
Hardware|x86 |All
OS|Windows |All
Severity|enhancement |normal
--- Comment #1 from Basile-z <b2.temp at gmx.com> ---
The problem is that byCodeUnit over dchar[] verifies isSomeString;
import std.utf, std.traits;
dchar[] t;
static assert(!isSomeString!(typeof(t.byCodeUnit)));
So the other __ctor overload is never called.
--
More information about the Digitalmars-d-bugs
mailing list