Fixed IAE because of compiler bug.
This commit is contained in:
+2
-1
@@ -81,8 +81,9 @@ public abstract class FileBasedKotlinClass implements KotlinJvmBinaryClass {
|
|||||||
@NotNull
|
@NotNull
|
||||||
protected abstract byte[] getFileContents();
|
protected abstract byte[] getFileContents();
|
||||||
|
|
||||||
|
// TODO public to be accessible in class object of subclass, workaround for KT-3974
|
||||||
@Nullable
|
@Nullable
|
||||||
protected static <T extends FileBasedKotlinClass> T create(
|
public static <T extends FileBasedKotlinClass> T create(
|
||||||
@NotNull byte[] fileContents,
|
@NotNull byte[] fileContents,
|
||||||
@NotNull Function3<ClassId, KotlinClassHeader, InnerClassesInfo, T> factory
|
@NotNull Function3<ClassId, KotlinClassHeader, InnerClassesInfo, T> factory
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user