To avoid NoSuchMethodError when overriden method declare more specific return type and the super method has an argument with default value (KT-5785)
This commit is contained in:
+1
-1
@@ -76,7 +76,7 @@ public abstract class LazyJavaMemberScope(
|
|||||||
|
|
||||||
protected abstract fun getDispatchReceiverParameter(): ReceiverParameterDescriptor?
|
protected abstract fun getDispatchReceiverParameter(): ReceiverParameterDescriptor?
|
||||||
|
|
||||||
private val functions = c.storageManager.createMemoizedFunction<Name, List<FunctionDescriptor>> {
|
private val functions = c.storageManager.createMemoizedFunction<Name, Collection<FunctionDescriptor>> {
|
||||||
name ->
|
name ->
|
||||||
val result = LinkedHashSet<SimpleFunctionDescriptor>()
|
val result = LinkedHashSet<SimpleFunctionDescriptor>()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user