Thread overview | ||||||
---|---|---|---|---|---|---|
|
April 18, 2022 [Issue 23035] -preview=rvaluerefparam causes @system function to be @safe | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23035 Atila Neves <atila.neves@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid, safe -- |
April 18, 2022 [Issue 23035] -preview=rvaluerefparam causes @system function to be @safe | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23035 Stanislav Blinov <stanislav.blinov@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stanislav.blinov@gmail.com --- Comment #1 from Stanislav Blinov <stanislav.blinov@gmail.com> --- That assert fails for me regardless of -preview setting. Probably because opPostMove decayed from the source and isn't actually being used. Which would make `move(s)` @safe @nogc nothrow pure. (IMHO, it should just stay that way. Introduction of proper move ctors would be much more preferable to maintaining that ad-hoc crutch). -- |
April 19, 2022 [Issue 23035] -preview=rvaluerefparam causes @system function to be @safe | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23035 --- Comment #2 from Atila Neves <atila.neves@gmail.com> --- That's... weird, especially since that assert is part of the druntime test suite. -- |
September 09, 2022 [Issue 23035] -preview=rvaluerefparam causes @system function to be @safe | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23035 Atila Neves <atila.neves@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Atila Neves <atila.neves@gmail.com> --- I can no longer reproduce this. -- |
Copyright © 1999-2021 by the D Language Foundation