Skip to content
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

Reference implementation of Inheritance view #52

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

HLWeil
Copy link
Member

@HLWeil HLWeil commented Feb 3, 2025

Some adjustments and a reference implementation for a transpilable InheritanceView: :

A derived type that is inherits a base type. If the constructor of the derived type is called with a base type as input, no new object is created, but the base type is used as the base object.The derived type can therefore be seen as a view on the base type, with additional methods to access the dynamic properties of the base type.

Properties property is no longer being transpiled as it is not being used in js and py anyways. Also added a hidden function for setting this property.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant