-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compiler: enhance Normalize.insertSuperCtor to consider inherited cto…
…r visibility Previously when selecting implicit chained super ctor, we short circuited if we found more than one constructor in superclass. With this change we now filter out those constructors that aren't visible. For example if a superclass in another pod has both a public make and an internal makeFoo, we will now implicitly bind the ctor chain to the public make instead of raising an error in CheckErrors.
- Loading branch information
1 parent
2cd3c18
commit 67365c5
Showing
3 changed files
with
42 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
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