[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
// !WITH_NEW_INFERENCE
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
import kotlin.reflect.KProperty1
|
||||
|
||||
class TestClass(var prop: Int)
|
||||
open class OtherClass
|
||||
fun OtherClass.test(prop: KProperty1<TestClass, Int>): Unit = throw Exception()
|
||||
class OtherClass2: OtherClass() {
|
||||
val result = <!INAPPLICABLE_CANDIDATE!>test<!>(TestClass::result)
|
||||
}
|
||||
Reference in New Issue
Block a user