diff options
author | flywind <xzsflywind@gmail.com> | 2021-04-06 22:20:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-06 16:20:01 +0200 |
commit | 7bfb9f00022513c2d0f4f93799c07be7e9ffa1e6 (patch) | |
tree | b4bd4353829491d22b0cc6cde0b7d7c6efb7351e /tests/varres/tprevent_forloopvar_mutations.nim | |
parent | aa4f18eff0344c4de828c1e22e440c0734113086 (diff) | |
download | Nim-7bfb9f00022513c2d0f4f93799c07be7e9ffa1e6.tar.gz |
close #17636 (#17643)
Diffstat (limited to 'tests/varres/tprevent_forloopvar_mutations.nim')
-rw-r--r-- | tests/varres/tprevent_forloopvar_mutations.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/varres/tprevent_forloopvar_mutations.nim b/tests/varres/tprevent_forloopvar_mutations.nim index 045dc7cbb..96bb208c2 100644 --- a/tests/varres/tprevent_forloopvar_mutations.nim +++ b/tests/varres/tprevent_forloopvar_mutations.nim @@ -1,7 +1,6 @@ discard """ errormsg: "type mismatch: got <int>" - line: 17 - nimout: '''tprevent_forloopvar_mutations.nim(17, 7) Error: type mismatch: got <int> + nimout: '''tprevent_forloopvar_mutations.nim(16, 7) Error: type mismatch: got <int> but expected one of: proc inc[T: Ordinal](x: var T; y = 1) first type mismatch at position: 1 |