fix off by 1 error in col shown by toFileLineCol (#10138)

* fix off by 1 error in `col` shown by toFileLineCol
* fix test failures
This commit is contained in:
Timothee Cour
2018-12-31 06:42:01 -08:00
committed by Andreas Rumpf
parent 7ac1fc81fd
commit ab72d68ec8
4 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
discard """
errormsg: "public implementation 'tmismatchedvisibility.foo(a: int)[declared in tmismatchedvisibility.nim(6, 5)]' has non-public forward declaration in "
errormsg: "public implementation 'tmismatchedvisibility.foo(a: int)[declared in tmismatchedvisibility.nim(6, 6)]' has non-public forward declaration in "
line: 8
"""