Changed from typedef to obj and def

This commit is contained in:
Nathan Braswell
2015-05-16 12:05:23 -04:00
parent 4bc42bc516
commit 65fd2ed9b7
27 changed files with 55 additions and 47 deletions

View File

@@ -1,10 +1,10 @@
import io:*;
typedef objectA {
obj objectA {
var a: int;
};
typedef BigObject {
obj BigObject {
var a: objectA;
var b: objectB;
fun add(): int {
@@ -12,7 +12,7 @@ typedef BigObject {
}
};
typedef objectB {
obj objectB {
var b: int;
};