You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure we can do more much here. In the general case the compiler can not gurantee how many times the method will be called. The check we can add is that the super call does not appear in a block more than once; first we do not have the infrastructure to do that, and second I think there will be false positives with conditions that the user know are mutually exclusive. This seems like a linter check to me.
Calling super() twice makes a runtime error.
TypeScript Version: 2.7.0-dev.201xxxxx
Search Terms:
Code
Expected behavior:
error
Actual behavior:
pass
Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered: