diff --git a/lib/pure/typetraits.nim b/lib/pure/typetraits.nim index 940b5e9fe..0f257b90b 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.`$` # for backward compatibility + proc name*(t: typedesc): string {.magic: "TypeTrait".} ## Returns the name of the given type.