Lineinfo change (#6084)

This commit is contained in:
Arne Döring 2017-07-17 08:12:15 +02:00 • committed by Andreas Rumpf
commit 52f092d02b
9 changed files with 53 additions and 12 deletions

View file

@ -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
"""

View file

@ -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

View file

@ -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"
"""

View file

@ -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