Improves error message when super is called outside of constructor (#408)
This commit is contained in:
committed by
Henry Zhu
parent
0f982799b6
commit
964105e3fb
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "super() outside of class constructor (2:8)"
|
||||
}
|
||||
"throws": "super() is only valid inside a class constructor. Make sure the method name is spelled exactly as 'constructor'. (2:8)"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user