Thread overview
[Issue 19883] Cyclic constructor call for BigInt(dstring)
May 19, 2019
Basile-z
May 19, 2019
Dlang Bot
May 19, 2019
Dlang Bot
Mar 21, 2020
Basile-z
May 19, 2019
https://issues.dlang.org/show_bug.cgi?id=19883

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.temp@gmx.com
           Hardware|x86                         |All
                 OS|Windows                     |All
           Severity|enhancement                 |normal

--- Comment #1 from Basile-z <b2.temp@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.

--
May 19, 2019
https://issues.dlang.org/show_bug.cgi?id=19883

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@Basile-z created dlang/phobos pull request #7017 "fix issue 19883 - Cyclic constructor call for BigInt(dstring)" fixing this issue:

- fix issue 19883 - Cyclic constructor call for BigInt(dstring)

https://github.com/dlang/phobos/pull/7017

--
May 19, 2019
https://issues.dlang.org/show_bug.cgi?id=19883

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/phobos pull request #7017 "fix issue 19883 - Cyclic constructor call for BigInt(dstring)" was merged into master:

- 7bf6a6d0d1e9a0f51b054265e115addea572ff98 by Basile Burg:
  fix issue 19883 - Cyclic constructor call for BigInt(dstring)

https://github.com/dlang/phobos/pull/7017

--
March 21, 2020
https://issues.dlang.org/show_bug.cgi?id=19883

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|b2.temp@gmx.com             |

--