parent
5211a471c8
commit
538b8d4032
1 changed files with 9 additions and 1 deletions
10
changelog.md
10
changelog.md
|
|
@ -6,7 +6,7 @@
|
||||||
- `addr` is now available for all addressable locations,
|
- `addr` is now available for all addressable locations,
|
||||||
`unsafeAddr` is now deprecated and an alias for `addr`.
|
`unsafeAddr` is now deprecated and an alias for `addr`.
|
||||||
|
|
||||||
- `io`, `assertions`, `formatfloat` are about to move out of the `system` module. You may instead import `std/syncio`, `std/assertions` and `std/formatfloat`.
|
- `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`.
|
||||||
The `-d:nimPreviewSlimSystem` option makes these imports required.
|
The `-d:nimPreviewSlimSystem` option makes these imports required.
|
||||||
|
|
||||||
- The `gc:v2` option is removed.
|
- The `gc:v2` option is removed.
|
||||||
|
|
@ -59,6 +59,7 @@
|
||||||
and [`queueMicrotask`](https://developer.mozilla.org/en-US/docs/Web/API/queueMicrotask)
|
and [`queueMicrotask`](https://developer.mozilla.org/en-US/docs/Web/API/queueMicrotask)
|
||||||
in `jscore` for JavaScript targets.
|
in `jscore` for JavaScript targets.
|
||||||
- Added `UppercaseLetters`, `LowercaseLetters`, `PunctuationChars`, `PrintableChars` sets to `std/strutils`.
|
- Added `UppercaseLetters`, `LowercaseLetters`, `PunctuationChars`, `PrintableChars` sets to `std/strutils`.
|
||||||
|
- Added `complex.sgn` for obtaining the phase of complex numbers.
|
||||||
|
|
||||||
[//]: # "Deprecations:"
|
[//]: # "Deprecations:"
|
||||||
- Deprecated `selfExe` for Nimscript.
|
- Deprecated `selfExe` for Nimscript.
|
||||||
|
|
@ -127,6 +128,13 @@
|
||||||
added to make this work explicitly, and a warning is generated in the case
|
added to make this work explicitly, and a warning is generated in the case
|
||||||
where it is implicit. This behavior only applies to templates, redefinition
|
where it is implicit. This behavior only applies to templates, redefinition
|
||||||
is generally disallowed for other symbols.
|
is generally disallowed for other symbols.
|
||||||
|
|
||||||
|
- A new form of type inference called [top-down inference](https://nim-lang.github.io/Nim/manual_experimental.html#topminusdown-type-inference)
|
||||||
|
has been implemented for a variety of basic cases. For example, code like the following now compiles:
|
||||||
|
|
||||||
|
```nim
|
||||||
|
let foo: seq[(float, byte, cstring)] = @[(1, 2, "abc")]
|
||||||
|
```
|
||||||
|
|
||||||
## Compiler changes
|
## Compiler changes
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue