From 517a2fc2754abc5d6333909a50ac2ae0de502d3c Mon Sep 17 00:00:00 2001 From: metagn Date: Sat, 12 Oct 2024 22:16:19 +0300 Subject: [PATCH] add tables.getOrDefault param name change to changelog (#24271) refs https://github.com/nim-lang/Nim/issues/23587#issuecomment-2404406187 (cherry picked from commit bb0006598ddf5a9c14a15b5f08a6c624b6b41712) --- changelog.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/changelog.md b/changelog.md index eb3f123096..e17b24b428 100644 --- a/changelog.md +++ b/changelog.md @@ -8,6 +8,10 @@ floating point numbers that are minimal in size and possess round-trip and corre rounding guarantees (via the [Dragonbox](https://raw.githubusercontent.com/jk-jeon/dragonbox/master/other_files/Dragonbox.pdf) algorithm). Use `-d:nimLegacySprintf` to emulate old behaviors. +- The `default` parameter of `tables.getOrDefault` has been renamed to `def` to + avoid conflicts with `system.default`, so named argument usage for this + parameter like `getOrDefault(..., default = ...)` will have to be changed. + ## Standard library additions and changes [//]: # "Changes:"