diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim index ac91dcbac..d5a5a001e 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -1654,7 +1654,7 @@ when defined(nimV2) and not defined(nimscript): else: template owned*(t: typeDesc): typedesc = t - template unown*(x: typed): typed = x + template unown*(x: typed): untyped = x proc new*[T](a: var ref T) {.magic: "New", noSideEffect.} ## Creates a new object of type ``T`` and returns a safe (traced) |