diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2021-01-02 07:30:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-02 07:30:39 +0100 |
commit | 73a8b950cb6abf36a0d29c210bb7db302ae68325 (patch) | |
tree | bd018fe111180437d3fe86b5ccae5376905aab54 /lib/js | |
parent | 0d0e43469f060818ec09d74de5b0bb7ded891898 (diff) | |
download | Nim-73a8b950cb6abf36a0d29c210bb7db302ae68325.tar.gz |
big steps torwards an efficient, simple IC implementation (#16543)
* reworked ID handling * the packed AST now has its own ID mechanism * basic serialization code works * extract rodfiles to its own module * rodfiles: store and compare configs * rodfiles: store dependencies * store config at the end * precise dependency tracking * dependency tracking for rodfiles * completed loading of PSym, PType, etc * removed dead code * bugfix: do not realloc seqs when taking addr into an element * make IC opt-in for now * makes tcompilerapi green again * final cleanups Co-authored-by: Andy Davidoff <github@andy.disruptek.com>
Diffstat (limited to 'lib/js')
-rw-r--r-- | lib/js/jsffi.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/js/jsffi.nim b/lib/js/jsffi.nim index 9fe934f89..15727c9f7 100644 --- a/lib/js/jsffi.nim +++ b/lib/js/jsffi.nim @@ -455,9 +455,9 @@ macro `{}`*(typ: typedesc, xs: varargs[untyped]): auto = # from a proc, `this` being the first argument. proc replaceSyms(n: NimNode): NimNode = - if n.kind == nnkSym: + if n.kind == nnkSym: result = newIdentNode($n) - else: + else: result = n for i in 0..<n.len: result[i] = replaceSyms(n[i]) |