Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up CheckSuper to handle non-constructor usages
The main change is to loosen the requirement that 'super' may only be used in classes that extend other classes. This is not actually required by the spec. This change also makes the error messages slightly more precise, rather than just assuming super is only ever called. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=203161904
- Loading branch information
1 parent
b2886b2
commit b3e10a7
Showing
6 changed files
with
265 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.