tact-lang / tact-docs

Tact main documentation
https://docs.tact-lang.org
40 stars 36 forks source link

Document fields punning of Structs and Messages #210

Closed novusnota closed 2 months ago

novusnota commented 2 months ago

{foo, bar} is syntactic sugar for { foo: foo, bar: bar }, see: https://github.com/tact-lang/tact/pull/272

Edit should be done there: https://docs.tact-lang.org/book/expressions#instantiation Additionally, this should be referenced from the Structs and Messages page