tact-lang / tact-docs

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

Receiver can also have underscore as parameter name #285

Open anton-trunov opened 4 days ago

anton-trunov commented 4 days ago

PR #283 does not mention that.

It can be useful because messages can be simple opcodes:


message(42) Foo { }

contract Bar {
  receive(_: Foo) { ... }
}