Repository navigation
Disallow void branches - #7261
Daniel Rosenwasser (DanielRosenwasser) wants to merge 7 commits into
Conversation
|
|
||
| ==== tests/cases/conformance/expressions/binaryOperators/logicalAndOperator/logicalAndOperatorWithEveryType.ts (10 errors) ==== | ||
| // The && operator permits the operands to be of any type and produces a result of the same | ||
| // type as the second operand. |
There was a problem hiding this comment.
This might need to be updated. Should I split these tests up so we can observe the types of other expressions?
|
Why didn't we check this before? This seems fundamental to the type of binary logical operators. |
|
|
|
jeffreymorlan that's not a bad idea either. Thanks! |
|
👍 and ✅ |
|
Daniel Rosenwasser (@DanielRosenwasser) can you update this PR. |
|
Daniel Rosenwasser (@DanielRosenwasser) can you update and merge this time :) |
|
Thanks for your contribution. This PR has failing CI tests and can not be merged in at the time being. For housekeeping purposes we are closing stale PRs. If you'd still like to merge this code in, please open a new PR that has been merged and rebased with the |
Fixes #7256
Open questions:
Should we cover
null/undefinedtypes?TODO: