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:
Zalim Bashorov
2015-07-17 18:34:55 +03:00
parent df4f43267b
commit 1a96b45f27
@@ -76,7 +76,7 @@ public abstract class LazyJavaMemberScope(
protected abstract fun getDispatchReceiverParameter(): ReceiverParameterDescriptor?
private val functions = c.storageManager.createMemoizedFunction<Name, List<FunctionDescriptor>> {
private val functions = c.storageManager.createMemoizedFunction<Name, Collection<FunctionDescriptor>> {
name ->
val result = LinkedHashSet<SimpleFunctionDescriptor>()