diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2019-05-26 23:10:34 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-05-27 21:29:02 +0200 |
commit | 49e686ab4e8103173ecb39cc16896eb979ddf9ce (patch) | |
tree | 61c40522d19e63c3bd86251a2a62bb57cf08022a /lib/system.nim | |
parent | 247fa431de9587b59978a1c8a7b20da6fe44f95e (diff) | |
download | Nim-49e686ab4e8103173ecb39cc16896eb979ddf9ce.tar.gz |
fixes #1286; object case transitions are now sound
Diffstat (limited to 'lib/system.nim')
-rw-r--r-- | lib/system.nim | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/system.nim b/lib/system.nim index 421973cce..37229fa0c 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -266,8 +266,6 @@ proc new*[T](a: var ref T, finalizer: proc (x: ref T) {.nimcall.}) {. proc reset*[T](obj: var T) {.magic: "Reset", noSideEffect.} ## Resets an object `obj` to its initial (binary zero) value. - ## - ## This needs to be called before any possible `object branch transition`:idx:. proc wasMoved*[T](obj: var T) {.magic: "WasMoved", noSideEffect.} = ## Resets an object `obj` to its initial (binary zero) value to signify |