Data locations should be tied to types, not variable declarations. #13730
Labels
challenging difficulty
high effort
A lot to implement but still doable by a single person. The task is large or difficult.
high impact
Changes are very prominent and affect users or the project in a major way.
needs design
The proposal is too vague to be implemented right away
roadmap
Abstract
Solidity could allow to have
storage
references inmemory
structures or evenmemory
arrays.Motivation
Sometimes it is handy to have memory structure with some storage refs. Now we can use this trick, uncomfortable but works:
Specification
It would be convenient to have
storage
refs inmemory
struct by allowing following syntax:The text was updated successfully, but these errors were encountered: