Revert fbf2424838:
postpone "transparent semantics for spread operator" until Java-related design issues are resolved (java.utils.Arrays#asList).
This commit is contained in:
@@ -91,8 +91,7 @@ public class VarArgTest extends CodegenTestCase {
|
||||
Method main = generateFunction("test");
|
||||
String[] args = {"mama", "papa"};
|
||||
String[] result = (String []) main.invoke(null, new Object[] {args});
|
||||
assertTrue(args != result);
|
||||
assertTrue(Arrays.equals(args, result));
|
||||
assertTrue(args == result);
|
||||
}
|
||||
|
||||
public void testArrayAsVararg2() throws InvocationTargetException, IllegalAccessException {
|
||||
|
||||
Reference in New Issue
Block a user