tact-lang / tact-docs

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

Add details regarding abstract and virtual functions in traits #207

Closed Oni-giri closed 4 months ago

Oni-giri commented 5 months ago

Hi!

I noticed that the docs didn't include any mention of virtual and abstract functions in traits, which can be overridden in the implementation contract. The virtual keyword for functions can be seen in an example in the Tact by Example website, for instance.

This is a great feature of Tact, so I think it's worth it to include it in the official docs! I also added references to it in other pages which were relevant.

anton-trunov commented 5 months ago

@Oni-giri Thanks for your contribution! Let's fix a couple of nits and we are good to go

anton-trunov commented 4 months ago

@novusnota check my recent changes please