src/parser/scanner-proto.lisp: Reorder declarations.
[sod] / src / foo.sod
index 9db34ba..049179b 100644 (file)
@@ -17,7 +17,7 @@ class Test : SodObject {
   void dec() { me->test.x--; }
 }
 
-[link = Test, nick = snd]
+[nick = snd]
 class Second : Test {
-  void test.dec() { me->test.x -= 3; }
+  void test.dec() { Test *t = SECOND__CONV_TEST(me); t->test.x -= 3; }
 }