KT-1589: Array<T>(size) renamed to arrayOfNulls

This commit is contained in:
Alex Tkachman
2012-04-02 14:30:37 +03:00
parent a1582e1911
commit ffbce7fe1e
21 changed files with 24 additions and 24 deletions
@@ -398,7 +398,7 @@ public class NamespaceGenTest extends CodegenTestCase {
}
public void testArrayNewNullable() throws Exception {
loadText("fun foo() = Array<Int?>(4)");
loadText("fun foo() = arrayOfNulls<Int>(4)");
// System.out.println(generateToText());
final Method main = generateFunction();
Integer[] result = (Integer[]) main.invoke(null);