Fix "Unused import" for 'provideDelegate'
#KT-31319 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package a
|
||||
|
||||
import kotlin.properties.ReadOnlyProperty
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
class C
|
||||
operator fun C.provideDelegate(thisRef: Any, prop: KProperty<*>): ReadOnlyProperty<Any, C> = TODO()
|
||||
@@ -0,0 +1,8 @@
|
||||
package b
|
||||
|
||||
import a.C
|
||||
import a.provideDelegate
|
||||
|
||||
class Example {
|
||||
val c: C = C()
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package b
|
||||
|
||||
import a.C
|
||||
|
||||
class Example {
|
||||
val c: C = C()
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package a
|
||||
|
||||
import kotlin.properties.ReadOnlyProperty
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
class C
|
||||
operator fun C.provideDelegate(thisRef: Any, prop: KProperty<*>): ReadOnlyProperty<Any, C> = TODO()
|
||||
@@ -0,0 +1,8 @@
|
||||
package b
|
||||
|
||||
import a.C
|
||||
import a.provideDelegate
|
||||
|
||||
class Example {
|
||||
val c: C by C()
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package b
|
||||
|
||||
import a.C
|
||||
import a.provideDelegate
|
||||
|
||||
class Example {
|
||||
val c: C by C()
|
||||
}
|
||||
Reference in New Issue
Block a user