lots of small changes

This commit is contained in:
Arne Döring 2018-12-05 19:03:01 +01:00 • committed by Araq
commit a5ecbf823f
85 changed files with 180 additions and 110 deletions

View file

@ -16,7 +16,7 @@ type
variables: seq[VarItem]
children: seq[VarScope]
when isMainModule:
when true:
var scope1 = VarScope(
variables: newSeq[VarItem](),
children: newSeq[VarScope]()

View file

@ -66,7 +66,7 @@ template verifyStackTrace*(expectedStackTrace: string, body: untyped) =
when isMainModule:
when true:
# <-- Align with line 70 in the text editor
block:
proc bar() =

View file

@ -16,7 +16,6 @@ action: compile
"""
# bug #9764
iterator s1(a:string): int = discard
iterator s2(): int = discard
template s3(): untyped = 123