diff options
author | jcosborn <jcosborn@users.noreply.github.com> | 2017-05-14 08:08:41 -0500 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-05-14 15:08:41 +0200 |
commit | ec50dab57d91fb33380a39479bafbeae48ed1a83 (patch) | |
tree | b0036cc43b223aaaee2049fe66ff67a10653a917 /web | |
parent | b826f85731fb20cbdc00a2ab5a64ec852251c56d (diff) | |
download | Nim-ec50dab57d91fb33380a39479bafbeae48ed1a83.tar.gz |
fixed macros.getTypeImpl for a symbol of type tyGenericBody (#5788) (#5812)
* fixed macros.getTypeImpl for a symbol of type tyGenericBody * added test case and commented test code
Diffstat (limited to 'web')
-rw-r--r-- | web/news/e031_version_0_16_2.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/news/e031_version_0_16_2.rst b/web/news/e031_version_0_16_2.rst index 63884700f..4f49bd8d9 100644 --- a/web/news/e031_version_0_16_2.rst +++ b/web/news/e031_version_0_16_2.rst @@ -45,6 +45,8 @@ Changes affecting backwards compatibility AST that is the same as what is used to define an enum. Previously the AST returned had a repeated ``EnumTy`` node and was missing the initial pragma node (which is currently empty for an enum). +- ``macros.getTypeImpl`` now correctly returns the implementation for a symbol + of type ``tyGenericBody``. - If the dispatcher parameter's value used in multi method is ``nil``, a ``NilError`` exception is raised. The old behavior was that the method would be a ``nop`` then. |