diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2022-10-01 16:46:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-01 16:46:51 +0200 |
commit | 8d47bf1822f7d7886ff62f6d14abe405f9f68ed7 (patch) | |
tree | 15f0c680c6bfcaeb47c17f21548c1dcb74507980 /tests/destructor/tuse_ownedref_after_move.nim | |
parent | cfff454cf9852be9df2020c3a2d192caaa2f418a (diff) | |
download | Nim-8d47bf1822f7d7886ff62f6d14abe405f9f68ed7.tar.gz |
new move analyser2 (#20471)
* produce better code for closure environment creation * new 'first write' analysis; * scope based move analyser * code cleanup Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
Diffstat (limited to 'tests/destructor/tuse_ownedref_after_move.nim')
-rw-r--r-- | tests/destructor/tuse_ownedref_after_move.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/destructor/tuse_ownedref_after_move.nim b/tests/destructor/tuse_ownedref_after_move.nim index ce96b741e..69348d530 100644 --- a/tests/destructor/tuse_ownedref_after_move.nim +++ b/tests/destructor/tuse_ownedref_after_move.nim @@ -1,6 +1,6 @@ discard """ cmd: '''nim c --newruntime $file''' - errormsg: "'=copy' is not available for type <owned Button>; requires a copy because it's not the last read of ':envAlt.b1'; another read is done here: tuse_ownedref_after_move.nim(52, 4)" + errormsg: "'=copy' is not available for type <owned Button>; requires a copy because it's not the last read of ':envAlt.b1'; routine: main" line: 48 """ |