mirror of
https://github.com/nim-lang/Nim.git
synced 2026-09-10 07:25:41 +00:00
`getTypeImpl` and friends were always putting `nkEmpty` in the default
value field which meant the default values couldn't be introspected.
This copies the default AST so it can be seen in the returned object
(cherry picked from commit edbb32e4c4)