clean up deprecated stuff and unused imports in tests (#13059)

This commit is contained in:
Miran 2020-01-07 09:49:08 +01:00 • committed by GitHub
commit 1551fff853
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 15 additions and 16 deletions

View file

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

View file

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