fix(compiler): using `super()` in an inflight constructor compiles but fails at runtime
fixes: #6940
Compiled output of the SuperClass (slightly different class than the one in the example):
Test results:
Checklist
- [ ] Title matches Winglang's style guide
- [ ] Description explains motivation and solution
- [ ] Tests added (always)
- [ ] Docs updated (only required for features)
- [ ] Added
pr/e2e-fulllabel 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 Wing Cloud Contribution License.
Thanks for opening this pull request! :tada: Please consult the contributing guidelines for details on how to contribute to this project. If you need any assistance, don't hesitate to ping the relevant owner over Discord.
| Topic | Owner |
|---|---|
| Wing SDK and standard library | @chriscbr |
| Wing Console | @skyrpex |
| Wing compiler and language design | @chriscbr |
| VSCode extension and language server | @chriscbr |
| Wing CLI | @chriscbr |
| Documentation | @boyney123 |
| Examples | @boyney123 |
| Wing Playground | @skyrpex |
Console preview environment is available at https://wing-console-pr-7007.fly.dev :rocket:
Last Updated (UTC) 2024-08-08 11:46
Thanks for contributing, @tsuf239! This PR will now be added to the merge queue, or immediately merged if tsuf/super-inflight-init is up-to-date with main and the queue is empty.
Congrats! :rocket: This was released in Wing 0.82.4.