Port 2 tests, fix object bug when generating methods (would try to generate the &object as a function itself for some reason, which worked when it wasn't special as generate_function would just return the name)

This commit is contained in:
Nathan Braswell committed 2016-02-25 05:16:50 -05:00
1 parent 40e3536e10
commit efebf8b1d7
3 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
import io:*;
import simple_print:*;
obj Vec2 {
var x: int;
+1 -1
View File
@@ -1,4 +1,4 @@
import io:*;
import simple_print:*;
import mem:*;
obj ClassWithConstructor {