Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Report type errors on just the right/left side of a comparison
The current behavior is that, given: var /** ?number */ x; if (2 > x){} the error message is: input0:3: WARNING - right side of numeric comparison found : (null|number) required: number if (2 > ^^^^^ which is confusing. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=200138089
- Loading branch information
1 parent
bd7b518
commit b49d4d0
Showing
1 changed file
with
14 additions
and
10 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