Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Treat destructured parameters as inferred if their type is unknown in…
… TypedScopeCreator This gets rid of some unknown typed parameters that were coming from looking up properties on unresolved NamedTypes. It's not ideal: we'd still prefer that these parameters have a known declared type, not known inferred type. This is meant to be a temporary solution ; in the long term, we want to switch to annotating types for individual destructuring parameters and ban giving a single type for the entire parameter. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=221355865
- Loading branch information
1 parent
e27e140
commit 21aa01f
Showing
2 changed files
with
192 additions
and
17 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