summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2019-03-04 16:48:02 +0100
committerAndreas Rumpf <rumpf_a@web.de>2019-03-04 16:48:02 +0100
commita59f5e5a9d6512455f29baca93773df458581bb9 (patch)
tree0126825764cd6913fc14f937e0977e22bf383678 /lib
parent55bc29c761c6758667b8f8f98490fc7671793916 (diff)
downloadNim-a59f5e5a9d6512455f29baca93773df458581bb9.tar.gz
attempt to make the CIs happy by using the older syntax
Diffstat (limited to 'lib')
-rw-r--r--lib/system.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 5df804a3a..840565d51 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)