Wooo! Fixed up remaining bugs in new syntax!

This commit is contained in:
Nathan Braswell
2015-05-09 06:24:56 -04:00
parent acf751c016
commit 87e1853713
47 changed files with 277 additions and 284 deletions

View File

@@ -1,15 +1,15 @@
import io;
typedef FirstObject {
|int| objectNum;
|void| PrintSelf(|int| a) {
var objectNum: int;
fun PrintSelf(a: int): void {
io::print(objectNum);
io::print(a);
}
};
|int| main() {
|FirstObject| wooObject;
fun main(): int {
var wooObject: FirstObject;
wooObject.objectNum = 5;
wooObject.PrintSelf(7);
io::print("\n");