misc fixes: build_all.sh, changelog (#17601)

* fix a bug in build_all.sh: $@ => "$@"

* remove getSocket from changelog following #17587

* remove unused import
This commit is contained in:
Timothee Cour 2021-03-31 23:48:44 -07:00 • committed by GitHub
commit a31e601550
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -42,7 +42,7 @@ build_nim_csources(){
echo_run cp bin/nim $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` # Note: if fails, may need to `cd csources && git pull`
echo_run bin/nim c --skipUserCfg --skipParentCfg koch echo_run bin/nim c --skipUserCfg --skipParentCfg koch

View file

@ -73,7 +73,7 @@
- Added `asyncdispatch.activeDescriptors` that returns the number of currently - Added `asyncdispatch.activeDescriptors` that returns the number of currently
active async event handles/file descriptors. 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 - `--gc:orc` is now 10% faster than previously for common workloads. If
you have trouble with its changed behavior, compile with `-d:nimOldOrc`. you have trouble with its changed behavior, compile with `-d:nimOldOrc`.

View file

@ -10,7 +10,7 @@
## This module contains support code for new-styled error ## This module contains support code for new-styled error
## handling via an `nkError` node kind. ## handling via an `nkError` node kind.
import ast, renderer, options, lineinfos, strutils, types import ast, renderer, options, strutils, types
type type
ErrorKind* = enum ## expand as you need. ErrorKind* = enum ## expand as you need.