Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change
FunctionType
to print as "(typeof Foo)" when the type is ass…
…ociated with the definition of an instance type. This condition corresponds to constructors or interfaces with a known source location and reflects the use of these functions as namespaces. It makes specific distinction between "the Foo constructor" and "some constructor of Foo's". The latter still prints as "function(new:Foo): undefined". One of the goals is to make the printed types of static methods less verbose and more understandable. Example "function(this:(typeof Foo), string): number". ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=245086325
- Loading branch information
Showing
8 changed files
with
175 additions
and
132 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
Oops, something went wrong.