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
This commit is contained in:
jcosborn 2017-05-14 08:08:41 -05:00 • committed by Andreas Rumpf
commit ec50dab57d
3 changed files with 57 additions and 21 deletions

View file

@ -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.