Fix for KT-12106: import static of reified companion object method throws IllegalAccessError
#KT-12106 Fixed
This commit is contained in:
committed by
Mikhael Bogdanov
parent
5df52e08cc
commit
abc7d5101d
@@ -19,7 +19,7 @@ package org.jetbrains.kotlin.resolve
|
||||
import org.jetbrains.kotlin.descriptors.*
|
||||
import org.jetbrains.kotlin.types.TypeSubstitutor
|
||||
|
||||
abstract class ImportedFromObjectCallableDescriptor<out TCallable : CallableDescriptor>(
|
||||
abstract class ImportedFromObjectCallableDescriptor<out TCallable : CallableMemberDescriptor>(
|
||||
val callableFromObject: TCallable
|
||||
) : CallableDescriptor {
|
||||
val containingObject = callableFromObject.containingDeclaration as ClassDescriptor
|
||||
|
||||
Reference in New Issue
Block a user