more progress on destructors; removed old destructor based code as it proved confusing

This commit is contained in:
Araq 2017-12-01 01:52:00 +01:00
commit fa92c519aa
9 changed files with 152 additions and 270 deletions

View file

@ -2,14 +2,14 @@ discard """
output: '''assign
destroy
destroy
destroy Foo: 5
5
destroy Foo: 123
123'''
123
destroy Foo: 5
destroy Foo: 123'''
cmd: '''nim c --newruntime $file'''
"""
# bug #2821
{.experimental.}
type T = object