Add column number to instantiation info (#7376)
* Add column number to instantiation info Instantiation info left out column number for no good reason. This adds it in as the third element of the tuple. * Fix test that failed and added change to changelog An assertion test failed because it was declaring a type that was expected to be populated by instantiationInfo with the old signature. Also added the changes to the changelog as it is a breaking change.
This commit is contained in:
parent
f543388959
commit
4f1725ad61
4 changed files with 7 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ tfailedassert.nim:27 false assertion from foo
|
|||
"""
|
||||
|
||||
type
|
||||
TLineInfo = tuple[filename: string, line: int]
|
||||
TLineInfo = tuple[filename: string, line: int, column: int]
|
||||
|
||||
TMyError = object of Exception
|
||||
lineinfo: TLineInfo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue