destructors: progress
This commit is contained in:
parent
3e3a8bd4cd
commit
efeee326f8
4 changed files with 29 additions and 12 deletions
|
|
@ -3,7 +3,7 @@ discard """
|
|||
output: '''hi
|
||||
ho
|
||||
ha
|
||||
1 1'''
|
||||
7 1'''
|
||||
"""
|
||||
|
||||
import allocators
|
||||
|
|
@ -75,7 +75,7 @@ iterator interpolatedFragments*(s: string): tuple[kind: InterpolatedKind,
|
|||
break
|
||||
i = j
|
||||
|
||||
when false:
|
||||
when true:
|
||||
let input = "$test{} $this is ${an{ example}} "
|
||||
let expected = @[(ikVar, "test"), (ikStr, "{} "), (ikVar, "this"),
|
||||
(ikStr, " is "), (ikExpr, "an{ example}"), (ikStr, " ")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue