diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2020-07-28 19:18:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-28 19:18:46 +0200 |
commit | 86c9b7833917cd3deac912488e4dc18a1ca1223a (patch) | |
tree | 0d6fc12157c4cf9a23f38f5133cc49b1e0891400 /changelog.md | |
parent | e4e4931432fbc81b1ced68b351691228fae31d36 (diff) | |
download | Nim-86c9b7833917cd3deac912488e4dc18a1ca1223a.tar.gz |
disable sink inference, only enable it for the stdlib. Reason: better source code compatibility (#15105)
Diffstat (limited to 'changelog.md')
-rw-r--r-- | changelog.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md index d4161373c..93c0797d3 100644 --- a/changelog.md +++ b/changelog.md @@ -265,6 +265,10 @@ proc mydiv(a, b): int {.raises: [].} = - Removed the `--oldast` switch. - `$getType(untyped)` is now "untyped" instead of "expr", `$getType(typed)` is now "typed" instead of "stmt". +- Sink inference is now disabled per default and has to enabled explicitly via + `--sinkInference:on`. *Note*: For the standard library sink inference remains + enabled. This change is most relevant for the `--gc:arc`, `--gc:orc` memory + management modes. ## Tool changes |