Compiler Assertion when comparing null
with undefined
#7225
Closed
Description
Happens in [email protected]
but NOT in [email protected]
let a = null
let b = undefined
let res = a != b
yields
Unexpected Error
File "compiler/core/js_exp_make.ml", line 1756, characters 12-18: Assertion failed
Thank you for filing! Check list:
- Is it a bug? Usage questions should often be asked in the forum instead.
- Concise, focused, friendly issue title & description.
- A minimal, reproducible example.
- OS and browser versions, if relevant.
- Is it already fixed in master? Instructions
Metadata
Assignees
Labels
No labels