From a31e601550cc6f9fd9e09b385bfbd869a408cd4b Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Wed, 31 Mar 2021 23:48:44 -0700 Subject: [PATCH] misc fixes: build_all.sh, changelog (#17601) * fix a bug in build_all.sh: $@ => "$@" * remove getSocket from changelog following #17587 * remove unused import --- build_all.sh | 2 +- changelog.md | 2 +- compiler/errorhandling.nim | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build_all.sh b/build_all.sh index e66980e569..c3c6e68b7a 100755 --- a/build_all.sh +++ b/build_all.sh @@ -42,7 +42,7 @@ build_nim_csources(){ echo_run cp bin/nim $nim_csources } -[ -f $nim_csources ] || echo_run build_nim_csources $@ +[ -f $nim_csources ] || echo_run build_nim_csources "$@" # Note: if fails, may need to `cd csources && git pull` echo_run bin/nim c --skipUserCfg --skipParentCfg koch diff --git a/changelog.md b/changelog.md index 900693644b..53d30bf360 100644 --- a/changelog.md +++ b/changelog.md @@ -73,7 +73,7 @@ - Added `asyncdispatch.activeDescriptors` that returns the number of currently active async event handles/file descriptors. -- Added to `asynchttpserver` `getPort` and `getSocket`. +- Added `getPort` to `asynchttpserver`. - `--gc:orc` is now 10% faster than previously for common workloads. If you have trouble with its changed behavior, compile with `-d:nimOldOrc`. diff --git a/compiler/errorhandling.nim b/compiler/errorhandling.nim index d7092d4777..cda7ab3f4e 100644 --- a/compiler/errorhandling.nim +++ b/compiler/errorhandling.nim @@ -10,7 +10,7 @@ ## This module contains support code for new-styled error ## handling via an `nkError` node kind. -import ast, renderer, options, lineinfos, strutils, types +import ast, renderer, options, strutils, types type ErrorKind* = enum ## expand as you need.