Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
February 21, 2017 [Issue 17207] Zero-parameter '@property' function should be marked 'const', 'inout', or 'immutable'. | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17207 anonymous4 <dfj1esp02@sneakemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Hardware|x86_64 |All Resolution|--- |INVALID OS|Linux |All --- Comment #1 from anonymous4 <dfj1esp02@sneakemail.com> --- This would disallow to generate the value on demand. -- |
February 21, 2017 [Issue 17207] Annotate properties in phobos with 'const' or 'inout' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17207 anonymous4 <dfj1esp02@sneakemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID |--- Summary|Zero-parameter '@property' |Annotate properties in |function should be marked |phobos with 'const' or |'const', 'inout', or |'inout' |'immutable'. | --- Comment #2 from anonymous4 <dfj1esp02@sneakemail.com> --- Ah, it's a request for only these types in phobos? Ok. -- |
July 11, 2017 [Issue 17207] Annotate properties in phobos with 'const' or 'inout' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17207 Seb <greensunny12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |greensunny12@gmail.com --- Comment #3 from Seb <greensunny12@gmail.com> --- > Ah, it's a request for only these types in phobos? Ok. Yep, it's about statically analysis for cases in which const would make sense. The DScanner check is called `function_attribute_check` btw. -- |
December 17, 2022 [Issue 17207] Annotate properties in phobos with 'const' or 'inout' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17207 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P4 -- |
Copyright © 1999-2021 by the D Language Foundation