summary refs log tree commit diff stats
path: root/tests/arc/topt_no_cursor.nim
diff options
context:
space:
mode:
authorClyybber <darkmine956@gmail.com>2021-02-15 18:31:15 +0100
committerGitHub <noreply@github.com>2021-02-15 18:31:15 +0100
commit70b9e9962f4576cc38fc3a32c6202ac8166ced5f (patch)
tree87e38f086079b079fe0519add0cb009cbb2263ae /tests/arc/topt_no_cursor.nim
parent00f86f55912fa5f28e19ca06b207d5abd4224c59 (diff)
downloadNim-70b9e9962f4576cc38fc3a32c6202ac8166ced5f.tar.gz
Revert "ARC: Analysis in one pass v2 (#17000)" (#17046)
This reverts commit 216be4060a853b3425501318537d598c4842eefc.
Diffstat (limited to 'tests/arc/topt_no_cursor.nim')
-rw-r--r--tests/arc/topt_no_cursor.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/arc/topt_no_cursor.nim b/tests/arc/topt_no_cursor.nim
index 6fa19b24a..3d37e6269 100644
--- a/tests/arc/topt_no_cursor.nim
+++ b/tests/arc/topt_no_cursor.nim
@@ -52,7 +52,7 @@ _ = (
   blitTmp, ";")
 lvalue = _[0]
 lnext = _[1]
-result.value = move lvalue
+`=sink`(result.value, move lvalue)
 `=destroy`(lnext)
 `=destroy_1`(lvalue)
 -- end of expandArc ------------------------