attempt to make the CIs happy by using the older syntax
This commit is contained in:
parent
55bc29c761
commit
a59f5e5a9d
1 changed files with 1 additions and 1 deletions
|
|
@ -1342,7 +1342,7 @@ template `isnot`*(x, y: untyped): untyped = not (x is y)
|
|||
## Negated version of `is`. Equivalent to ``not(x is y)``.
|
||||
|
||||
when defined(nimV2):
|
||||
type owned*[T]{.magic: "BuiltinType".}
|
||||
type owned*{.magic: "BuiltinType".}[T]
|
||||
|
||||
proc new*[T](a: var owned(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