tact-lang / tact

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

Make semicolon (`;`) optional for the last struct field declaration #393

Closed anton-trunov closed 1 week ago

anton-trunov commented 1 week ago

The following should be allowed:

struct Foo { a: Int }

or

struct Bar { a: Int; b: String }

(currently one has to add ; after each struct field declaration)