clean up deprecated stuff and unused imports in tests (#13059)
This commit is contained in:
parent
6a7a19eb15
commit
1551fff853
8 changed files with 15 additions and 16 deletions
|
|
@ -1,5 +1,5 @@
|
|||
type
|
||||
TObj* = object {.inheritable.}
|
||||
TObj* {.inheritable.} = object
|
||||
|
||||
var myObj* : ref TObj
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ hello
|
|||
|
||||
# tmultim1
|
||||
type
|
||||
Expression = ref object {.inheritable.}
|
||||
Expression {.inheritable.} = ref object
|
||||
Literal = ref object of Expression
|
||||
x: int
|
||||
PlusExpr = ref object of Expression
|
||||
|
|
@ -69,4 +69,4 @@ var s:ref Test = newTest()
|
|||
#doesn't work
|
||||
for z in 1..4:
|
||||
s.doMethod()
|
||||
break
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue