Closed Chriscbr closed 3 months ago
i can take look if its still open?
Thanks @KrishnaSindhur, I assigned the issue to you. Please let us know if you have any questions or need pointers
Hi,
This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!
Hi,
This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!
Hi,
This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!
This now correctly yields the desired error message (Wing V0.74.30):
Failed to compile.
error: Missing super() call as first statement of Bar's constructor
--> wing/main.w:6:9
|
6 | new() {}
| ^^
Fixed in #6351
I tried this:
This happened:
It compiles
I expected this:
A type checking error, saying that
Bar
's initializer needs asuper
call since it is a derived classIs there a workaround?
No response
Component
Compiler
Wing Version
0.33.3
Node.js Version
18.14.1
Platform(s)
MacOS
Anything else?
No response
Community Notes