Lineinfo change (#6084)
This commit is contained in:
parent
9427724a71
commit
52f092d02b
9 changed files with 53 additions and 12 deletions
|
|
@ -1,5 +1,5 @@
|
|||
discard """
|
||||
errormsg: "invalid declaration order; cannot attach 'step' to method defined here: tmapper.nim(22,7)"
|
||||
errormsg: "invalid declaration order; cannot attach 'step' to method defined here: tmapper.nim(22, 7)"
|
||||
line: 25
|
||||
"""
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
discard """
|
||||
line: 8
|
||||
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, 5)]' has non-public forward declaration in "
|
||||
"""
|
||||
|
||||
proc foo(a: int): int
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
discard """
|
||||
nimout: '''
|
||||
compile start
|
||||
tused.nim(15, 8) Hint: 'tused.echoSub(a: int, b: int)[declared in tused.nim(15,7)]' is declared but not used [XDeclaredButNotUsed]
|
||||
tused.nim(15, 8) Hint: 'tused.echoSub(a: int, b: int)[declared in tused.nim(15, 7)]' is declared but not used [XDeclaredButNotUsed]
|
||||
compile end'''
|
||||
output: "8\n8"
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
discard """
|
||||
outputsub: '''tquasiquote.nim(14,8): Check failed: 1 > 2'''
|
||||
outputsub: '''tquasiquote.nim(14, 8): Check failed: 1 > 2'''
|
||||
"""
|
||||
|
||||
import macros
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue