Skip to content

Commit 538b8d4

Browse files
authored
update changelog for #20242, #20091, #20087 (#20288)
1 parent 5211a47 commit 538b8d4

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

changelog.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
- `addr` is now available for all addressable locations,
77
`unsafeAddr` is now deprecated and an alias for `addr`.
88

9-
- `io`, `assertions`, `formatfloat` are about to move out of the `system` module. You may instead import `std/syncio`, `std/assertions` and `std/formatfloat`.
9+
- `io`, `assertions`, `formatfloat`, and `` dollars.`$` `` for objects are about to move out of the `system` module. You may instead import `std/syncio`, `std/assertions`, `std/formatfloat` and `std/objectdollar`.
1010
The `-d:nimPreviewSlimSystem` option makes these imports required.
1111

1212
- The `gc:v2` option is removed.
@@ -59,6 +59,7 @@
5959
and [`queueMicrotask`](https://developer.mozilla.org/en-US/docs/Web/API/queueMicrotask)
6060
in `jscore` for JavaScript targets.
6161
- Added `UppercaseLetters`, `LowercaseLetters`, `PunctuationChars`, `PrintableChars` sets to `std/strutils`.
62+
- Added `complex.sgn` for obtaining the phase of complex numbers.
6263

6364
[//]: # "Deprecations:"
6465
- Deprecated `selfExe` for Nimscript.
@@ -127,6 +128,13 @@
127128
added to make this work explicitly, and a warning is generated in the case
128129
where it is implicit. This behavior only applies to templates, redefinition
129130
is generally disallowed for other symbols.
131+
132+
- A new form of type inference called [top-down inference](https://nim-lang.github.io/Nim/manual_experimental.html#topminusdown-type-inference)
133+
has been implemented for a variety of basic cases. For example, code like the following now compiles:
134+
135+
```nim
136+
let foo: seq[(float, byte, cstring)] = @[(1, 2, "abc")]
137+
```
130138

131139
## Compiler changes
132140

0 commit comments

Comments
 (0)