You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A previous version of cadence (secure cadence release) restricted the potential foot-gun of mutating container-typed let fields/variables via the Cadence mutability restrictions FLIP.
However, there are still ways to mutate such fields by:
Directly mutating a nested composite typed field.
Mutating a field by calling a mutating function on the field.
Mutating the field via a reference.
Suggested Solution
Explore potential improvements that can be done at the language level to eliminate/minimize the above-mentioned foot guns.
The text was updated successfully, but these errors were encountered:
Issue to be solved
A previous version of cadence (secure cadence release) restricted the potential foot-gun of mutating container-typed
let
fields/variables via theCadence mutability restrictions FLIP.
However, there are still ways to mutate such fields by:
Suggested Solution
Explore potential improvements that can be done at the language level to eliminate/minimize the above-mentioned foot guns.
The text was updated successfully, but these errors were encountered: