Thread overview |
---|
May 04, 2022 [Issue 23086] spurious case of `expression has no effect` message | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23086 --- Comment #1 from Basile-z <b2.temp@gmx.com> --- also `ref int a()` is not `pure` -- |
May 04, 2022 [Issue 23086] spurious case of `expression has no effect` message | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23086 --- Comment #2 from Basile-z <b2.temp@gmx.com> --- the check should dig in the sub expressions and take in account if they contain impure calls, in which case the message should not be emitted. -- |
May 04, 2022 [Issue 23086] spurious case of `expression has no effect` message | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23086 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID -- |
May 04, 2022 [Issue 23086] spurious case of `expression has no effect` message | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23086 --- Comment #3 from Basile-z <b2.temp@gmx.com> --- `a` was supposed to return a global, closed an opened https://issues.dlang.org/show_bug.cgi?id=23088 for less confusion. -- |
Copyright © 1999-2021 by the D Language Foundation