Updated Destructors, 2nd edition (rest)
This commit is contained in:
parent
3d847d40b7
commit
401d5ab543
|
@ -317,7 +317,7 @@ not destroyed at the scope exit, but at the proc exit.
|
||||||
::
|
::
|
||||||
|
|
||||||
var x: T; stmts
|
var x: T; stmts
|
||||||
--------------- (var)
|
--------------- (destroy-var)
|
||||||
var x: T; try stmts
|
var x: T; try stmts
|
||||||
finally: `=destroy`(x)
|
finally: `=destroy`(x)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue