-
Notifications
You must be signed in to change notification settings - Fork 181
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
Class Declaration: super
#1123
Labels
Comments
eladb
changed the title
Add support for calling
Jan 11, 2023
super(...)
in inheriting classes' initsuper
staycoolcall911
added
📜 lang-spec-impl
Appears in the language spec roadmap
🛠️ compiler
Compiler
labels
Jan 15, 2023
1 task
5 tasks
mergify bot
pushed a commit
that referenced
this issue
Jun 21, 2023
Adds support for calling super() constructor within derived class initializer. Closes: #1123 ## MISC: - fixed latent bug where inflight client super constructor calls were not wrapping args as an object - some minor refactors and cleanups ## Checklist - [x] Title matches [Winglang's style guide](https://docs.winglang.io/contributors/pull_requests#how-are-pull-request-titles-formatted) - [x] Description explains motivation and solution - [x] Tests added (always) - [x] Docs updated (only required for features) - [x] Added `pr/e2e-full` label if this feature requires end-to-end testing *By submitting this pull request, I confirm that my contribution is made under the terms of the [Monada Contribution License](https://docs.winglang.io/terms-and-policies/contribution-license.html)*.
Congrats! 🚀 This was released in Wing 0.21.23. |
eladb
pushed a commit
that referenced
this issue
Jun 22, 2023
Adds support for calling super() constructor within derived class initializer. Closes: #1123 - fixed latent bug where inflight client super constructor calls were not wrapping args as an object - some minor refactors and cleanups - [x] Title matches [Winglang's style guide](https://docs.winglang.io/contributors/pull_requests#how-are-pull-request-titles-formatted) - [x] Description explains motivation and solution - [x] Tests added (always) - [x] Docs updated (only required for features) - [x] Added `pr/e2e-full` label if this feature requires end-to-end testing *By submitting this pull request, I confirm that my contribution is made under the terms of the [Monada Contribution License](https://docs.winglang.io/terms-and-policies/contribution-license.html)*.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/winglang/wing/blob/main/docs/04-reference/winglang-spec.md#32-classes
Add support for calling
super(...)
in inheriting classes' initverify that:
The text was updated successfully, but these errors were encountered: