summary refs log tree commit diff stats
path: root/tests/generics/t6137.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/generics/t6137.nim')
-rw-r--r--tests/generics/t6137.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/generics/t6137.nim b/tests/generics/t6137.nim
index abf02a756..991f39dd1 100644
--- a/tests/generics/t6137.nim
+++ b/tests/generics/t6137.nim
@@ -16,7 +16,7 @@ let
   # define a vector of length 3
   x: vector[3] = [1.0, 3.0, 5.0]
 
-proc vectFunc[T](x: vector[T]): vector[T] {.procvar.} =
+proc vectFunc[T](x: vector[T]): vector[T] =
   # Define a vector function
   result = 2.0*x