lots of small changes
This commit is contained in:
parent
c0c35839cc
commit
a5ecbf823f
85 changed files with 180 additions and 110 deletions
|
|
@ -16,7 +16,7 @@ type
|
|||
variables: seq[VarItem]
|
||||
children: seq[VarScope]
|
||||
|
||||
when isMainModule:
|
||||
when true:
|
||||
var scope1 = VarScope(
|
||||
variables: newSeq[VarItem](),
|
||||
children: newSeq[VarScope]()
|
||||
|
|
|
|||
|
|
@ -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() =
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ action: compile
|
|||
"""
|
||||
|
||||
# bug #9764
|
||||
|
||||
iterator s1(a:string): int = discard
|
||||
iterator s2(): int = discard
|
||||
template s3(): untyped = 123
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue