Commit a5f3ccb
committed
fix: use common type for numeric check on binary subtraction
Non-compound `-` computes `commonType` for both operands; the validity
check should use `commonType.isNumericValue`, not `leftType.isNumericValue`.1 parent 327423b commit a5f3ccb
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4150 | 4150 | | |
4151 | 4151 | | |
4152 | 4152 | | |
4153 | | - | |
| 4153 | + | |
4154 | 4154 | | |
4155 | 4155 | | |
4156 | 4156 | | |
| |||
0 commit comments