Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improves typechecking to consider instance properties of interfaces w…
…hen verifying that a type correctly implements its interfaces. Example: ``` /** @interface */ class Iface { constructor() { /** @type {!X} */ this.x; } } /** @implements {Iface} */ class Impl { // Must have either instance or prototype field matching "x". } ``` ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=246214880
- Loading branch information
Showing
4 changed files
with
119 additions
and
43 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
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