Fixed IAE because of compiler bug.

This commit is contained in:
Evgeny Gerashchenko
2014-09-17 21:54:49 +04:00
parent 853def0a10
commit 2a9005b466
@@ -81,8 +81,9 @@ public abstract class FileBasedKotlinClass implements KotlinJvmBinaryClass {
@NotNull
protected abstract byte[] getFileContents();
// TODO public to be accessible in class object of subclass, workaround for KT-3974
@Nullable
protected static <T extends FileBasedKotlinClass> T create(
public static <T extends FileBasedKotlinClass> T create(
@NotNull byte[] fileContents,
@NotNull Function3<ClassId, KotlinClassHeader, InnerClassesInfo, T> factory
) {