wing icon indicating copy to clipboard operation
wing copied to clipboard

fix(compiler): using `super()` in an inflight constructor compiles but fails at runtime

Open tsuf239 opened this issue 1 year ago • 2 comments

fixes: #6940 Compiled output of the SuperClass (slightly different class than the one in the example): image

Test results: image

Checklist

  • [ ] Title matches Winglang's style guide
  • [ ] Description explains motivation and solution
  • [ ] Tests added (always)
  • [ ] Docs updated (only required for features)
  • [ ] 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 Wing Cloud Contribution License.

tsuf239 avatar Aug 08 '24 09:08 tsuf239

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

github-actions[bot] avatar Aug 08 '24 09:08 github-actions[bot]

Console preview environment is available at https://wing-console-pr-7007.fly.dev :rocket:

Last Updated (UTC) 2024-08-08 11:46

monadabot avatar Aug 08 '24 09:08 monadabot

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.

mergify[bot] avatar Aug 12 '24 18:08 mergify[bot]

Congrats! :rocket: This was released in Wing 0.82.4.

monadabot avatar Aug 12 '24 19:08 monadabot