-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug
Description
🔎 Search Terms
Operator '<' cannot be applied to types 'boolean' and 'never'.
🕗 Version & Regression Information
- This changed between versions 4.9.5 and 5.0.4
⏯ Playground Link
💻 Code
let a = false
let b = false
// Error reporting situation
let res = b && (a < b)
// Other normal circumstances
b = true
res = b && (a < b)
res = false && (a < b)
🙁 Actual behavior
There were no errors before version 4.9.5
An error occurred after version 5.0.4
🙂 Expected behavior
This error should not be reported
Additional information about the issue
No response
Metadata
Metadata
Assignees
Labels
Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug