tact-lang / tact

Tact compiler main repository
https://tact-lang.org
MIT License
267 stars 53 forks source link

Maps in contract's storage need to be immediately iterable #383

Closed anton-trunov closed 1 week ago

anton-trunov commented 1 week ago

Since the Tact grammar only supports iterating over maps that are identifiers, it's not possible to iterate over a persistent map in the contract storage: foreach (k, v in self.map)

Gusarich commented 1 week ago

I think the same thing as in #386 should work here for the same reason.