summary refs log tree commit diff stats
path: root/tests/method/tmultimjs.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/method/tmultimjs.nim')
-rw-r--r--tests/method/tmultimjs.nim5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/method/tmultimjs.nim b/tests/method/tmultimjs.nim
index 9dcfc0dcc..36960f2e1 100644
--- a/tests/method/tmultimjs.nim
+++ b/tests/method/tmultimjs.nim
@@ -4,12 +4,13 @@ discard """
 Hi derived!
 hello
 '''
+  disabled: true
 """
 
 
 # tmultim1
 type
-  Expression = ref object {.inheritable.}
+  Expression {.inheritable.} = ref object
   Literal = ref object of Expression
     x: int
   PlusExpr = ref object of Expression
@@ -69,4 +70,4 @@ var s:ref Test = newTest()
 #doesn't work
 for z in 1..4:
   s.doMethod()
-  break
\ No newline at end of file
+  break