one more step to multi-file compilation

This commit is contained in:
Alex Tkachman
2012-06-06 12:17:25 +03:00
parent 03c4e755fa
commit 7d938dd98f
5 changed files with 84 additions and 64 deletions
@@ -78,7 +78,7 @@ public class ArrayGenTest extends CodegenTestCase {
public void testIntGenerics () throws Exception {
loadText("class L<T>(var a : T) {} fun foo() = L<Int>(5).a");
// System.out.println(generateToText());
System.out.println(generateToText());
Method foo = generateFunction();
Object invoke = foo.invoke(null);
System.out.println(invoke.getClass());