Unable to define inflight init
eladb opened this issue · 1 comments
eladb commented
I tried this
resource MyResource {
init() { }
inflight init() { }
}
I expected this:
To be supported
Instead, this happened
1 | resource MyResource {
| ^^^^^^^^^^ Symbol "init" already defined in this scope
Is there a workaround?
No response
Component
Compiler
Wing Version
No response
Wing Console Version
No response
Node.js Version
No response
Platform(s)
No response
Anything else?
No response
Community Notes
- Please vote by adding a 👍 reaction to the issue to help us prioritize.
- If you are interested to work on this issue, please leave a comment.