made tests green again

This commit is contained in:
Araq 2012-08-24 19:08:34 +02:00
commit 8a92e95ccf
7 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
discard """
file: "system.nim"
line: 643
line: 646
errormsg: "type mismatch"
"""

View file

@ -1,5 +1,5 @@
type
TObj* = object
TObj* = object {.inheritable.}
var myObj* : ref TObj

View file

@ -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

View file

@ -5,7 +5,7 @@ discard """
# Test multi methods
type
TThing = object
TThing = object {.inheritable.}
TUnit = object of TThing
x: int
TParticle = object of TThing

View file

@ -5,7 +5,7 @@ discard """
# Test is operator
type
TMyType = object
TMyType = object {.inheritable.}
len: int
data: string