September 21, 2022 [Issue 23354] New: [REG master] object.d(393): Error: reference to stack allocated value returned by 'new F(1)' assigned to non-scope parameter 'lhs' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23354 Issue ID: 23354 Summary: [REG master] object.d(393): Error: reference to stack allocated value returned by 'new F(1)' assigned to non-scope parameter 'lhs' Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: ibuclaw@gdcproject.org $ dmd druntime/src/object.d -o- -unittest -preview=dip1000 druntime/src/object.d(393): Error: reference to stack allocated value returned by `new F(1)` assigned to non-scope parameter `lhs` druntime/src/object.d(393): Error: reference to stack allocated value returned by `new G(1)` assigned to non-scope parameter `rhs` Caused by https://github.com/dlang/dmd/pull/14367 -- |
Copyright © 1999-2021 by the D Language Foundation