fixes nim check with orc (#20456)

* fixes nim check with orc

* fixes tests

* add tests

* fixes tests

* Update tests/arc/t20456.nim
This commit is contained in:
ringabout 2022-10-02 12:44:10 +08:00 • committed by GitHub
commit 81e7811e01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 27 additions and 1 deletions

View file

@ -1,5 +1,5 @@
discard """
cmd: "nim check --showAllMismatches:on --hints:off $file"
cmd: "nim check --mm:refc --showAllMismatches:on --hints:off $file"
nimout: '''
tsigmatch.nim(111, 4) Error: type mismatch: got <A, string>
but expected one of: