Closed novusnota closed 2 months ago
{foo, bar} is syntactic sugar for { foo: foo, bar: bar }, see: https://github.com/tact-lang/tact/pull/272
{foo, bar}
{ foo: foo, bar: bar }
Edit should be done there: https://docs.tact-lang.org/book/expressions#instantiation Additionally, this should be referenced from the Structs and Messages page
{foo, bar}
is syntactic sugar for{ foo: foo, bar: bar }
, see: https://github.com/tact-lang/tact/pull/272Edit should be done there: https://docs.tact-lang.org/book/expressions#instantiation Additionally, this should be referenced from the Structs and Messages page