[Issue 21197] Wrong lifetime inference with DIP1000 in dmd 2.093.0

2022-08-31 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21197 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 21197] Wrong lifetime inference with DIP1000 in dmd 2.093.0

2022-08-11 Thread d-bugmail--- via Digitalmars-d-bugs
--- @WalterBright updated dlang/dmd pull request #14360 "fix Issue 21197 - Wrong lifetime inference with DIP1000 in dmd 2.093.0" fixing this issue: - fix Issue 21197 - Wrong lifetime inference with DIP1000 in dmd 2.093.0 https://github.com/dlang/dmd/pull/14360 --

[Issue 21197] Wrong lifetime inference with DIP1000 in dmd 2.093.0

2022-08-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21197 --- Comment #4 from Walter Bright --- A better test case, with and without the error message: @safe void check2() { int random; S create1() { return S(); } scope S gen1 = create1; // no error S create2() { return S(&random); }

[Issue 21197] Wrong lifetime inference with DIP1000 in dmd 2.093.0

2022-07-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21197 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #3 from

[Issue 21197] Wrong lifetime inference with DIP1000 in dmd 2.093.0

2020-08-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21197 Atila Neves changed: What|Removed |Added Severity|normal |regression --

[Issue 21197] Wrong lifetime inference with DIP1000 in dmd 2.093.0

2020-08-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21197 --- Comment #2 from moonlightsenti...@disroot.org --- digger: 788398ac6293f57ae78fca23de96b1653f729265 is the first bad commit commit 788398ac6293f57ae78fca23de96b1653f729265 Author: Atila Neves Date: Wed Jun 10 10:44:17 2020 +0100 dmd: Merge

[Issue 21197] Wrong lifetime inference with DIP1000 in dmd 2.093.0

2020-08-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21197 moonlightsenti...@disroot.org changed: What|Removed |Added CC||moonlightsentinel@disroot.o

[Issue 21197] Wrong lifetime inference with DIP1000 in dmd 2.093.0

2020-08-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21197 Atila Neves changed: What|Removed |Added Keywords||safe --