made tests green again
This commit is contained in:
parent
d17caa86e8
commit
8a92e95ccf
7 changed files with 7 additions and 7 deletions
|
|
@ -306,7 +306,7 @@ when isMainModule:
|
|||
testit(test7)
|
||||
|
||||
type
|
||||
TA = object
|
||||
TA {.inheritable.} = object
|
||||
TB = object of TA
|
||||
f: int
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
discard """
|
||||
file: "system.nim"
|
||||
line: 643
|
||||
line: 646
|
||||
errormsg: "type mismatch"
|
||||
"""
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
type
|
||||
TObj* = object
|
||||
TObj* = object {.inheritable.}
|
||||
|
||||
var myObj* : ref TObj
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ discard """
|
|||
# Test multi methods
|
||||
|
||||
type
|
||||
TThing = object
|
||||
TThing = object {.inheritable.}
|
||||
TUnit = object of TThing
|
||||
x: int
|
||||
TParticle = object of TThing
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ discard """
|
|||
# Test is operator
|
||||
|
||||
type
|
||||
TMyType = object
|
||||
TMyType = object {.inheritable.}
|
||||
len: int
|
||||
data: string
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue