made tests green again

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

View File

@@ -306,7 +306,7 @@ when isMainModule:
testit(test7)
type
TA = object
TA {.inheritable.} = object
TB = object of TA
f: int

View File

@@ -165,7 +165,7 @@ type
TThreadLocalStorage = array [0..1_000, float]
PGcThread = ptr TGcThread
TGcThread {.pure.} = object
TGcThread {.pure, inheritable.} = object
sys: TSysThread
when emulatedThreadVars and not useStackMaskHack:
tls: TThreadLocalStorage

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