vyper Version (output of vyper --version OR linkable commit hash vyperlang/vyper@): vyperlang/vyper@b43fface148b45cbd2c90b5d24f77398a63745b5
Issue Description
In Stmt._get_target(), the target is checked not to have a storage
location in the case the context is constant. However, the check is
missing for the case where the target is in transient storage. Given
that the semantic analysis phase should make the compiler fail earlier
if transient storage is accessed in a constant context, no impact of the
missing check could be found.
Version Information
vyper --version
OR linkable commit hash vyperlang/vyper@Issue Description
In
Stmt._get_target()
, the target is checked not to have a storage location in the case the context is constant. However, the check is missing for the case where the target is in transient storage. Given that the semantic analysis phase should make the compiler fail earlier if transient storage is accessed in a constant context, no impact of the missing check could be found.