This repository has been archived by the owner on Nov 29, 2023. It is now read-only.
@pure
annotation should also cover the case that a function is not pure but has no side effects
#976
Labels
Is your feature request related to a problem?
A function without side effects can at least be eliminated if its result is not used.
Desired solution
Replace
@pure
with@purity
. The user can than choose between the variantpure
andno side effects
.Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
@Pure
annotation@NoSideEffects
annotationThe text was updated successfully, but these errors were encountered: