summary refs log tree commit diff stats
path: root/tests/method/tmultimjs.nim
diff options
context:
space:
mode:
authorMiran <narimiran@disroot.org>2020-01-07 09:49:08 +0100
committerGitHub <noreply@github.com>2020-01-07 09:49:08 +0100
commit1551fff8532540106acf792a830fd9979e1e431b (patch)
treeebd3860a1c40989589a9090baa39e4c529a0c715 /tests/method/tmultimjs.nim
parent6a7a19eb15d3878bc97a7ea729d981124628f3ad (diff)
downloadNim-1551fff8532540106acf792a830fd9979e1e431b.tar.gz
clean up deprecated stuff and unused imports in tests (#13059)
Diffstat (limited to 'tests/method/tmultimjs.nim')
-rw-r--r--tests/method/tmultimjs.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/method/tmultimjs.nim b/tests/method/tmultimjs.nim
index 9dcfc0dcc..ce62a2c23 100644
--- a/tests/method/tmultimjs.nim
+++ b/tests/method/tmultimjs.nim
@@ -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
\ No newline at end of file
+  break