diff options
Diffstat (limited to 'tests/run')
-rwxr-xr-x | tests/run/mmultim3.nim | 2 | ||||
-rwxr-xr-x | tests/run/tmultim1.nim | 2 | ||||
-rwxr-xr-x | tests/run/tmultim2.nim | 2 | ||||
-rwxr-xr-x | tests/run/tofopr.nim | 2 |
4 files changed, 4 insertions, 4 deletions
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 |