diff options
Diffstat (limited to 'tests/objects')
-rw-r--r-- | tests/objects/tobjects.nim | 4 | ||||
-rw-r--r-- | tests/objects/toop.nim | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/objects/tobjects.nim b/tests/objects/tobjects.nim index 2f46b46b5..66a38960e 100644 --- a/tests/objects/tobjects.nim +++ b/tests/objects/tobjects.nim @@ -1,5 +1,5 @@ type - TBase = object of TObject + TBase = object of RootObj x, y: int TSubclassKind = enum ka, kb, kc, kd, ke, kf @@ -13,7 +13,7 @@ type n: bool type - TMyObject = object of TObject + TMyObject = object of RootObj case disp: range[0..4] of 0: arg: char of 1: s: string diff --git a/tests/objects/toop.nim b/tests/objects/toop.nim index ebc59f637..4bd3998f3 100644 --- a/tests/objects/toop.nim +++ b/tests/objects/toop.nim @@ -3,7 +3,7 @@ discard """ """ type - TA = object of TObject + TA = object of RootObj x, y: int TB = object of TA |