pass typedesc as NimNode to macros (#11400)
* change typedesc's design in macros * Manual and changelog entry. * add link to RFC
This commit is contained in:
parent
71388caf2e
commit
cb45527e37
6 changed files with 54 additions and 39 deletions
|
|
@ -52,6 +52,12 @@
|
|||
- With the exception of `uint` and `uint64`, conversion to unsigned types
|
||||
are now range checked during runtime.
|
||||
|
||||
- Macro arguments of type `typedesc` are now passed in to the macro as
|
||||
`NimNode` like every other type. Use either `typed` or
|
||||
`static[typedesc]` for a behavior that is identical in new and old
|
||||
Nim.
|
||||
RFC: `Pass typedesc as NimNode to macros
|
||||
<https://github.com/nim-lang/RFCs/issues/148>`_.
|
||||
|
||||
#### Breaking changes in the standard library
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue