-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow super.method() calls in constructor (#324)
The old code assumed that `super` always followed by a `(` which is not the case. Also adds tests for invalid (at runtime) code with multiple `super()` and `super.m()` / `super.x` / `super.x = 1` before `super()`. Fixes #323
- Loading branch information
1 parent
2cbe6fc
commit 59159cb
Showing
2 changed files
with
122 additions
and
1 deletion.
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