attempt to make the CIs happy by using the older syntax

This commit is contained in:
Andreas Rumpf
2019-03-04 16:48:02 +01:00
parent 55bc29c761
commit a59f5e5a9d

View File

@@ -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)