From 8a92e95ccfb2653d8cea52a83c26ac8967557062 Mon Sep 17 00:00:00 2001 From: Araq Date: Fri, 24 Aug 2012 19:08:34 +0200 Subject: made tests green again --- tests/run/mmultim3.nim | 2 +- tests/run/tmultim1.nim | 2 +- tests/run/tmultim2.nim | 2 +- tests/run/tofopr.nim | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/run') diff --git a/tests/run/mmultim3.nim b/tests/run/mmultim3.nim index ca73ebea6..3139a8089 100755 --- a/tests/run/mmultim3.nim +++ b/tests/run/mmultim3.nim @@ -1,5 +1,5 @@ type - TObj* = object + TObj* = object {.inheritable.} var myObj* : ref TObj diff --git a/tests/run/tmultim1.nim b/tests/run/tmultim1.nim index 4fcf81c98..7f551aa64 100755 --- a/tests/run/tmultim1.nim +++ b/tests/run/tmultim1.nim @@ -5,7 +5,7 @@ discard """ # Test multi methods type - Expression = ref object + Expression = ref object {.inheritable.} Literal = ref object of Expression x: int PlusExpr = ref object of Expression diff --git a/tests/run/tmultim2.nim b/tests/run/tmultim2.nim index 956b22647..75f652137 100755 --- a/tests/run/tmultim2.nim +++ b/tests/run/tmultim2.nim @@ -5,7 +5,7 @@ discard """ # Test multi methods type - TThing = object + TThing = object {.inheritable.} TUnit = object of TThing x: int TParticle = object of TThing diff --git a/tests/run/tofopr.nim b/tests/run/tofopr.nim index f9c21ad16..961d81bd3 100755 --- a/tests/run/tofopr.nim +++ b/tests/run/tofopr.nim @@ -5,7 +5,7 @@ discard """ # Test is operator type - TMyType = object + TMyType = object {.inheritable.} len: int data: string -- cgit 1.4.1-2-gfad0