Merge remote branch 'origin/master'

This commit is contained in:
Andrey Breslav
2011-11-25 17:23:16 +03:00
@@ -35,6 +35,7 @@ public class VarArgTest extends CodegenTestCase {
loadText("fun test() = testf(239, 7); fun testf(vararg ts: Int) = ts");
// System.out.println(generateToText());
final Method main = generateFunction();
System.out.println(main.toString());
Object res = main.invoke(null);
assertTrue(((int[])res).length == 2);
assertTrue(((int[])res)[0] == 239);