diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2020-09-26 13:11:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-26 13:11:35 +0200 |
commit | e6616115e65381aaab427c557431d7992bb25063 (patch) | |
tree | ba658d570cb666341f3a9b890af0a5cd66b1e443 /tests/arc/topt_no_cursor.nim | |
parent | d4892e9388084e71f9389efce7bba42d8c069d09 (diff) | |
download | Nim-e6616115e65381aaab427c557431d7992bb25063.tar.gz |
cursor inference: makes combparser work; refactorings (#15411)
* cursor inference: makes combparser work; refactorings
Diffstat (limited to 'tests/arc/topt_no_cursor.nim')
-rw-r--r-- | tests/arc/topt_no_cursor.nim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/arc/topt_no_cursor.nim b/tests/arc/topt_no_cursor.nim index 1e5cf7142..5fd21439a 100644 --- a/tests/arc/topt_no_cursor.nim +++ b/tests/arc/topt_no_cursor.nim @@ -44,15 +44,17 @@ var var lresult lvalue + lnext _ `=`(lresult, [123]) -var lnext_cursor: string _ = ( let blitTmp = lresult blitTmp, ";") lvalue = _[0] -lnext_cursor = _[1] +lnext = _[1] `=sink`(result.value, move lvalue) +`=destroy`(lnext) +`=destroy_1`(lvalue) -- end of expandArc ------------------------ --expandArc: tt |