KT-2149 binary and text compilation in one pass

This commit is contained in:
Alex Tkachman
2012-08-06 12:36:32 +03:00
parent a32cb40fc6
commit 7f456ede1a
5 changed files with 72 additions and 18 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());