summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAndrii Riabushenko <cdome@bk.ru>2018-12-07 22:14:46 +0000
committerAndrii Riabushenko <cdome@bk.ru>2018-12-07 22:14:46 +0000
commitd9815574c0ac38cf832515c0034ff2be96da24d9 (patch)
tree0f5df266d98e999aac13de80181f210825e3fc03 /compiler
parent948c625f95d061e7f2608d9ead20d1fd05a64cd0 (diff)
downloadNim-d9815574c0ac38cf832515c0034ff2be96da24d9.tar.gz
more undo
Diffstat (limited to 'compiler')
-rw-r--r--compiler/destroyer.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/destroyer.nim b/compiler/destroyer.nim
index ebe8d1185..158e8cc4a 100644
--- a/compiler/destroyer.nim
+++ b/compiler/destroyer.nim
@@ -105,7 +105,7 @@ Rule      Pattern                 Transformed into
 4.2       x = y                   `=`(x, y) # a copy
 5.1       f_sink(g())             f_sink(g())
 5.2       f_sink(y)               f_sink(copy y); # copy unless we can see it's the last read
-5.3       f_sink(move y)          f_sink(y); # wasMoved(z) # explicit moves empties 'y'
+5.3       f_sink(move y)          f_sink(y); wasMoved(y) # explicit moves empties 'y'
 5.4       f_noSink(g())           var tmp = bitwiseCopy(g()); f(tmp); `=destroy`(tmp)
 
 Remarks: Rule 1.2 is not yet implemented because ``sink`` is currently