arrays in signatures: more tests, fix bugs

This commit is contained in:
Stepan Koltsov
2012-01-06 23:21:31 +04:00
parent 4c3ebe7ea9
commit 2338af30a0
10 changed files with 56 additions and 12 deletions
@@ -504,6 +504,14 @@ public class JetStandardLibrary {
initStdClasses();
return doubleArrayType;
}
public JetType getPrimitiveArrayType(JetType jetType) {
if (jetType.equals(getIntType())) {
return getIntArrayType();
} else {
throw new IllegalStateException("not implemented");
}
}
public ClassDescriptor getByteArrayClass() {
initStdClasses();