fix #16150 improve type mismatch errors (#16152)

* fix #16150 improve type mismatch errors

* allow -d:nimLegacyTypeMismatch

* address comment
This commit is contained in:
Timothee Cour 2020-12-09 07:19:39 -08:00 • committed by GitHub
commit f344a70412
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 14 additions and 7 deletions

View file

@ -8,3 +8,4 @@ switch("path", "$lib/../testament/lib")
switch("colors", "off")
switch("listFullPaths", "off")
switch("excessiveStackTrace", "off")
switch("define", "nimLegacyTypeMismatch")