summary refs log tree commit diff stats
path: root/tests/varres/tprevent_forloopvar_mutations.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/varres/tprevent_forloopvar_mutations.nim')
-rw-r--r--tests/varres/tprevent_forloopvar_mutations.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/varres/tprevent_forloopvar_mutations.nim b/tests/varres/tprevent_forloopvar_mutations.nim
index 398191658..ac62608af 100644
--- a/tests/varres/tprevent_forloopvar_mutations.nim
+++ b/tests/varres/tprevent_forloopvar_mutations.nim
@@ -3,9 +3,9 @@ discard """
   line: 17
   nimout: '''type mismatch: got <int>
 but expected one of:
-proc inc[T: Ordinal | uint | uint64](x: var T; y = 1)
+proc inc[T: Ordinal](x: var T; y = 1)
   first type mismatch at position: 1
-  required type for x: var T: Ordinal or uint or uint64
+  required type for x: var T: Ordinal
   but expression 'i' is immutable, not 'var'
 
 expression: inc i