| Thread overview | ||||||||
|---|---|---|---|---|---|---|---|---|
|
March 03, 2020 [Issue 20623] std.conv.to!string error when argument is an inout float | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20623 Mr. Smith <mrsmith33@yandex.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrsmith33@yandex.ru --- Comment #1 from Mr. Smith <mrsmith33@yandex.ru> --- Got the same problem: void main() {} struct Struct { double member; string fun() inout { import std.conv : text; return member.text; } } -- | ||||
March 03, 2020 [Issue 20623] std.conv.to!string error when argument is an inout float | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20623 moonlightsentinel@disroot.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |moonlightsentinel@disroot.o | |rg Hardware|x86_64 |All Assignee|nobody@puremagic.com |moonlightsentinel@disroot.o | |rg OS|Linux |All Severity|trivial |regression --- Comment #2 from moonlightsentinel@disroot.org --- git bisect blames this commit: commit 2b2ed40f611231d7f5b92747b619bbe067fd827b (HEAD, refs/bisect/bad) Author: Robert Schadek <rschadek@symmetryinvestments.com> Date: Thu Oct 10 15:26:22 2019 +0100 Fix Issue 20288 std.format with separator and double causes RangeError -- | ||||
March 03, 2020 [Issue 20623] std.conv.to!string error when argument is an inout float | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20623 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> --- @MoonlightSentinel created dlang/phobos pull request #7413 "Fix Issue 20623 - std.conv.to!string error when argument is an inout float" fixing this issue: - Fix Issue 20623 - std.conv.to!string error when argument is an inout float https://github.com/dlang/phobos/pull/7413 -- | ||||
March 10, 2020 [Issue 20623] std.conv.to!string error when argument is an inout float | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20623 --- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/phobos pull request #7413 "Add tests for issue 20623 - std.conv.to!string error when argument is an inout float" was merged into master: - d7e0c0ce70bea6ca41094e7fd7981c929c7aacbf by MoonlightSentinel: Add tests for Issue 20623 - std.conv.to!string error when argument is an inout float. This bug was fixed as side effect of #7407. https://github.com/dlang/phobos/pull/7413 -- | ||||
April 14, 2020 [Issue 20623] std.conv.to!string error when argument is an inout float | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20623 moonlightsentinel@disroot.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- | ||||
March 08, 2022 [Issue 20623] std.conv.to!string error when argument is an inout float | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20623 Vijay Nayar <madric@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |madric@gmail.com --- Comment #5 from Vijay Nayar <madric@gmail.com> --- This error is also reproducible using enums, e.g.: ``` d import std.conv : to; struct Foo { enum Type { HAM, BREAD } Type t; void foo() inout { to!string(this.t); } } void main() { Foo().foo(); } ``` > /dlang/dmd/linux/bin64/../../src/phobos/std/conv.d(1217): Error: variable `std.conv.value` only parameters or stack based variables can be `inout` -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply