diff options
author | flywind <xzsflywind@gmail.com> | 2021-04-05 04:47:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-04 13:47:28 -0700 |
commit | 70a30317f7b0a5711e248e0653b50d1c057bd16b (patch) | |
tree | 80c3b1f52264cabe83c0ba28627a0b8d89f09ad5 /tests/varres | |
parent | f02e159b56aaa63713991c0a7f8e7125e91c832e (diff) | |
download | Nim-70a30317f7b0a5711e248e0653b50d1c057bd16b.tar.gz |
fix #16693: testament spec nimout too lax (#16698)
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
Diffstat (limited to 'tests/varres')
-rw-r--r-- | tests/varres/tprevent_forloopvar_mutations.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/varres/tprevent_forloopvar_mutations.nim b/tests/varres/tprevent_forloopvar_mutations.nim index 15f31d8a3..045dc7cbb 100644 --- a/tests/varres/tprevent_forloopvar_mutations.nim +++ b/tests/varres/tprevent_forloopvar_mutations.nim @@ -1,7 +1,7 @@ discard """ errormsg: "type mismatch: got <int>" line: 17 - nimout: '''type mismatch: got <int> + nimout: '''tprevent_forloopvar_mutations.nim(17, 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 |