tact-lang / tact

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

Make semicolon (`;`) optional for the last statement in a block #427

Closed anton-trunov closed 1 week ago

anton-trunov commented 1 week ago

E.g. the following should be allowed:

contract Foo {
  x: Int;
  init() { self.x = 42 }
}

This would make syntax a bit more uniform and follows #393.