system.nim: minor fix for the new 'unown' template
This commit is contained in:
parent
9ecb1aae80
commit
eb471acffb
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue