summary refs log tree commit diff stats
path: root/web
diff options
context:
space:
mode:
authorjcosborn <jcosborn@users.noreply.github.com>2017-03-19 14:34:27 -0500
committerAndreas Rumpf <rumpf_a@web.de>2017-03-19 20:34:27 +0100
commit3bffb3ba35be45a32b622a6dbfc8c501001e7dfb (patch)
treef80a5164e979087626c1166c33c01aee7dd1a7e6 /web
parent1d6018726eea88b8cd7bf9a9bc975525f083e4d1 (diff)
downloadNim-3bffb3ba35be45a32b622a6dbfc8c501001e7dfb.tar.gz
fix getTypeImpl for tyEnum (#5568)
* fixed getTypeImpl for tyEnum
* fixed getType for enum and updated release notes about change
Diffstat (limited to 'web')
-rw-r--r--web/news/e031_version_0_16_2.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/news/e031_version_0_16_2.rst b/web/news/e031_version_0_16_2.rst
index a4202833f..35f3716a3 100644
--- a/web/news/e031_version_0_16_2.rst
+++ b/web/news/e031_version_0_16_2.rst
@@ -38,6 +38,10 @@ Changes affecting backwards compatibility
   upfront every implementation needs to fullfill these contracts.
 - ``system.getAst templateCall(x, y)`` now typechecks the ``templateCall``
   properly. You need to patch your code accordingly.
+- ``macros.getType`` and ``macros.getTypeImpl`` for an enum will now return an
+  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).
 
 
 Library Additions