-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement inheritance #2797
Comments
Can we create a var
So we can search the symtab of the derived and if the member / member fn is not found , we can move to the symtab of the super. |
@certik, What do you think the best approach here? |
I would handle So it seems it's not needed to put |
Ok got it 👍🏻 |
Should the members and member functions of the base class be added to the derived class' symtab, or should they be added as an external symbol? @certik @Thirumalai-Shaktivel |
Example :
The text was updated successfully, but these errors were encountered: