mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-13 06:43:52 +00:00
attempt to make the CIs happy by using the older syntax
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user