0f444903f6
to use it for errors from completer as well
20 lines
393 B
Kotlin
20 lines
393 B
Kotlin
package foo
|
|
|
|
open class A {
|
|
val B.w: Int by <!TYPE_INFERENCE_UPPER_BOUND_VIOLATED!>MyProperty<!>()
|
|
}
|
|
|
|
val B.r: Int by <!TYPE_INFERENCE_UPPER_BOUND_VIOLATED!>MyProperty<!>()
|
|
|
|
val A.e: Int by MyProperty()
|
|
|
|
class B {
|
|
val A.f: Int by MyProperty()
|
|
}
|
|
|
|
class MyProperty<R : A, T> {
|
|
public fun get(thisRef: R, desc: PropertyMetadata): T {
|
|
throw Exception("$thisRef $desc")
|
|
}
|
|
}
|