Open anton-trunov opened 8 months ago
We should also allow strings and coins as map value type (these are allowed when wrapped in a structure anyways).
actually Bool
is already supported.
but Slice
, String
, and Builder
are not, so I'll work on their support.
For instance,
map<Int, Bool>
is not directly supported and instead, the user can either emulate booleans with integers and usemap<Int, Int>
or wrap a boolean into a struct like so:(the example above is due to
@hitasp
: https://t.me/tactlang/11016)