diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2018-12-30 00:40:21 -0800 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-12-30 09:40:21 +0100 |
commit | a6633b965891a7f5e70ac6fcf41d4142145b69c2 (patch) | |
tree | 3fc98ab67d9b4b0760f8396bc8a33d46e91b288b /lib/pure | |
parent | aadbdd6b066bc7251c6d24bb5ef5ce3f940825ec (diff) | |
download | Nim-a6633b965891a7f5e70ac6fcf41d4142145b69c2.tar.gz |
fix typetraits.`$` regression https://github.com/c-blake/cligen/issues/84 (#10131)
* fix typetraits.`$` regression https://github.com/c-blake/cligen/issues/84 * add test
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/typetraits.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pure/typetraits.nim b/lib/pure/typetraits.nim index db57ac02d..5f5bfdbd7 100644 --- a/lib/pure/typetraits.nim +++ b/lib/pure/typetraits.nim @@ -10,6 +10,8 @@ ## This module defines compile-time reflection procs for ## working with types +export system.`$` + proc name*(t: typedesc): string {.magic: "TypeTrait".} ## Alias for system.`$`(t) since Nim v0.20.0. |