https://issues.dlang.org/show_bug.cgi?id=21197
RazvanN changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
---
@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
--
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); }
https://issues.dlang.org/show_bug.cgi?id=21197
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
--- Comment #3 from
https://issues.dlang.org/show_bug.cgi?id=21197
Atila Neves changed:
What|Removed |Added
Severity|normal |regression
--
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
https://issues.dlang.org/show_bug.cgi?id=21197
moonlightsenti...@disroot.org changed:
What|Removed |Added
CC||moonlightsentinel@disroot.o
https://issues.dlang.org/show_bug.cgi?id=21197
Atila Neves changed:
What|Removed |Added
Keywords||safe
--