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

Initializing a Inner class #85

Open
Pesekjak opened this issue Jan 16, 2024 · 0 comments
Open

Initializing a Inner class #85

Pesekjak opened this issue Jan 16, 2024 · 0 comments

Comments

@Pesekjak
Copy link

Is your feature request related to a problem? Please describe.
Currently there is no way of creating new instance of a inner class.

Describe the solution you'd like
Introduce a new syntax that would allow users to call constructors of inner classes from an instance of a outer class. I think something like {_outer}.new Inner() would work.

@Pesekjak Pesekjak changed the title Initializing a inner class Initializing a Inner class Jan 16, 2024
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

No branches or pull requests

1 participant