Don't report missing getValue/setValue method error when it's was impossible to finish resolve

#KT-9803 Fixed
This commit is contained in:
Nikolay Krasko
2015-11-02 18:23:18 +03:00
parent f518f5fb9f
commit e10f7fb464
5 changed files with 54 additions and 6 deletions
@@ -0,0 +1,25 @@
// FILE: main.kt
package test
import first.*
import second.*
val a12 by <!DELEGATE_SPECIAL_FUNCTION_NONE_APPLICABLE!>A()<!>
// FILE: first.kt
package first
import kotlin.reflect.KProperty
class A
public operator fun <T> A.getValue(thisRef: Any?, property: KProperty<*>): T = null!!
// FILE: second.kt
package second
import first.A
import kotlin.reflect.KProperty
public operator fun <T> A.getValue(thisRef: Any?, property: KProperty<*>): T = null!!