mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 01:44:37 +00:00
Add changelog for the isNil JavaScript change (#10184)
Forgot to add an item, breaking change
This commit is contained in:
committed by
Andreas Rumpf
parent
b7be67349b
commit
15773c455a
@@ -52,6 +52,8 @@
|
||||
|
||||
- splitFile now correctly handles edge cases, see #10047
|
||||
|
||||
- `isNil` is no longer false for undefined in the JavaScript backend: now it's true for both nil and undefined. Use `isNull` or `isUndefined` if you need exact equallity: `isNil` is consistent with `===`, `isNull` and `isUndefined` with `==`.
|
||||
|
||||
#### Breaking changes in the compiler
|
||||
|
||||
- The compiler now implements the "generic symbol prepass" for `when` statements
|
||||
|
||||
Reference in New Issue
Block a user