From a59f5e5a9d6512455f29baca93773df458581bb9 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Mon, 4 Mar 2019 16:48:02 +0100 Subject: [PATCH] attempt to make the CIs happy by using the older syntax --- lib/system.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/system.nim b/lib/system.nim index 5df804a3af..840565d511 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -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)