Nim/lib/core
Adam Strzelecki 1d47617d1b Macros: Introduce getType(t: typedesc): NimNode
Since typedesc are exception in macros and they are not implicitly converted to
NimNode on macro call, we need some means to perform such conversion on demand.

Fortunately it is as simple as declaring new magic "NGetType" proc with
typedesc parameter.

NOTE: Keeping actual macro exceptional behavior for typedesc is important,
since it allows passing typedesc macro parameter to other procs or macros
expecting type parameter. If typedesc parameter was implicitly converted, then
we would lost this ability.
2015-05-17 15:28:41 +02:00
..
locks.nim Fix typos 2015-02-15 16:20:32 +00:00
macros.nim Macros: Introduce getType(t: typedesc): NimNode 2015-05-17 15:28:41 +02:00
typeinfo.nim some love for the testsuite; fixed regressions 2015-03-01 21:41:21 +01:00
unsigned.nim Added support for big 'u64 literals 2015-01-02 22:10:49 +01:00