Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

Add details regarding abstract and virtual functions in traits #207

Merged
merged 4 commits into from
May 7, 2024
Merged

Add details regarding abstract and virtual functions in traits #207

merged 4 commits into from
May 7, 2024

Conversation

Oni-giri
Copy link
Contributor

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 anton-trunov requested a review from novusnota May 1, 2024 10:24
@anton-trunov
Copy link
Member

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

anton-trunov
anton-trunov previously approved these changes May 7, 2024
@anton-trunov
Copy link
Member

@novusnota check my recent changes please

Copy link
Member

@novusnota novusnota left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks nice, will be helpful towards #131

@anton-trunov anton-trunov merged commit bf4403d into tact-lang:main May 7, 2024
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants