summary refs log tree commit diff stats
path: root/changelogs
diff options
context:
space:
mode:
authormetagn <metagngn@gmail.com>2023-05-24 18:55:09 +0300
committerGitHub <noreply@github.com>2023-05-24 17:55:09 +0200
commit4d6be458a00a642555e95055ff640daba59513f7 (patch)
tree72c5c98f26d6e75c98b1129642cf7e415a89266f /changelogs
parentc7f25419149d6b4b0723f0ef177bbaad72d7bc3e (diff)
downloadNim-4d6be458a00a642555e95055ff640daba59513f7.tar.gz
js -r defines nodejs & program result undeclared if unavailable (#21849)
* js -r defines nodejs & program result undefined if unavailable

fixes #16985, fixes #16074

* fix

* add changelog too

* minor word change
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/changelog_2_0_0.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/changelogs/changelog_2_0_0.md b/changelogs/changelog_2_0_0.md
index b15818ae6..11fa8cba3 100644
--- a/changelogs/changelog_2_0_0.md
+++ b/changelogs/changelog_2_0_0.md
@@ -249,6 +249,10 @@
   these deprecated aliases are likely not used anymore and it may make sense
   to simply remove these statements.
 
+- `getProgramResult` and `setProgramResult` in `std/exitprocs` are no longer
+  declared when they are not available on the backend. Previously it would call
+  `doAssert false` at runtime despite the condition being compile-time.
+
 ## Standard library additions and changes
 
 [//]: # "Changes:"