destuctors are experimental; 'func' is now a keyword

This commit is contained in:
Araq 2014-12-10 01:57:08 +01:00
commit 85cc5a6a1f
9 changed files with 20 additions and 9 deletions

View file

@ -22,6 +22,8 @@ myobj destroyed
'''
"""
{.experimental.}
type
TMyObj = object
x, y: int

View file

@ -3,6 +3,8 @@ discard """
errormsg: " usage of a type with a destructor in a non destructible context"
"""
{.experimental.}
type
TMyObj = object
x, y: int