[Issue 20623] std.conv.to!string error when argument is an inout float

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 3 13:37:26 UTC 2020


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

Mr. Smith <mrsmith33 at yandex.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrsmith33 at yandex.ru

--- Comment #1 from Mr. Smith <mrsmith33 at yandex.ru> ---
Got the same problem:

void main() {}
struct Struct {
    double member;
    string fun() inout {
        import std.conv : text;
        return member.text;
    }
}

--


More information about the Digitalmars-d-bugs mailing list