summary refs log tree commit diff stats
path: root/lib/js
diff options
context:
space:
mode:
authorzah <zahary@gmail.com>2020-03-26 10:26:19 +0200
committerGitHub <noreply@github.com>2020-03-26 09:26:19 +0100
commite50441ab33d1b287a89ad4e2d795c80b7f8077c0 (patch)
tree3cb06dd6cf0018a57eb12c65a6565fda60ccebd6 /lib/js
parent1b31e08917f3644b80a10b581089b816ef2db214 (diff)
downloadNim-e50441ab33d1b287a89ad4e2d795c80b7f8077c0.tar.gz
Fix typeSym.getImpl for ref types (#13752)
* Fix typeSym.getImpl for ref types

* Fix a codegen issue affecting the test suite of nim-beacon-chain

* Fix tests/stdlib/tjsonmacro

To understand the fix better it may help to take a look
at the history of the replaced code.

The nil check that is removed in this commit was introduced
in another fix that failed to identify the root cause of the
issue - namely that we allow an object type to exist for which
no ast is present:

https://github.com/nim-lang/Nim/pull/9601/files

The original intention of the code is more obvious here:

https://github.com/nim-lang/Nim/pull/9538/files
Diffstat (limited to 'lib/js')
0 files changed, 0 insertions, 0 deletions