This commit is contained in:
flywind 2021-04-06 22:20:01 +08:00 • committed by GitHub
commit 7bfb9f0002
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 60 additions and 75 deletions

View file

@ -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