X-Git-Url: http://nitlanguage.org
diff --git a/tests/sav/nitlight_args1.res b/tests/sav/nitlight_args1.res
index c5a6adb..570c986 100644
--- a/tests/sav/nitlight_args1.res
+++ b/tests/sav/nitlight_args1.res
@@ -16,52 +16,52 @@
import end
-interface
+interface Object
end
-enum
+enum Bool
end
-enum
+enum Int
fun is intern
end
-class
- init do .
- fun do .
+class A
+ init do 5.output
+ fun do 6.output
end
-class
- var :
- init(: )
+class B
+ var val: Int
+ init(v: Int)
do
- .
- self. =
+ 7.output
+ self.val = v
end
- fun do .
+ fun do val.output
end
-class
- var :
- var : =
+class C
+ var val1: Int
+ var val2: Int = 10
end
-fun do .
-fun (: ) do .
-fun : do return
+fun do 2.output
+fun (i: Int) do i.output
+fun : Int do return 4
-.
-
-()
-.
+1.output
+foo
+bar(3)
+baz.output
-var = new
-.
+var a = new A
+a.run
-var = new ()
-.
+var b = new B(8)
+b.run
-var = new ()
-..
-..
+var c = new C(9)
+c.val1.output
+c.val2.output
\ No newline at end of file