temporarily print signature of generated method to diagnose failing tests on core7i-5-ubuntu
This commit is contained in:
@@ -35,6 +35,7 @@ public class VarArgTest extends CodegenTestCase {
|
|||||||
loadText("fun test() = testf(239, 7); fun testf(vararg ts: Int) = ts");
|
loadText("fun test() = testf(239, 7); fun testf(vararg ts: Int) = ts");
|
||||||
// System.out.println(generateToText());
|
// System.out.println(generateToText());
|
||||||
final Method main = generateFunction();
|
final Method main = generateFunction();
|
||||||
|
System.out.println(main.toString());
|
||||||
Object res = main.invoke(null);
|
Object res = main.invoke(null);
|
||||||
assertTrue(((int[])res).length == 2);
|
assertTrue(((int[])res).length == 2);
|
||||||
assertTrue(((int[])res)[0] == 239);
|
assertTrue(((int[])res)[0] == 239);
|
||||||
|
|||||||
Reference in New Issue
Block a user