Fix wrong containingDeclaration for property type parameter.
This commit is contained in:
@@ -8,6 +8,12 @@ trait B {
|
||||
fun bar() : Double = 1.0;
|
||||
}
|
||||
|
||||
trait G<X> {
|
||||
val <X : A> boo: Double where X : B
|
||||
val <A> bal: Double where A : B
|
||||
val <Y : B> bas: Double where <!NAME_IN_CONSTRAINT_IS_NOT_A_TYPE_PARAMETER!>X<!> : B
|
||||
}
|
||||
|
||||
class C() : A(), B
|
||||
|
||||
class D() {
|
||||
|
||||
Reference in New Issue
Block a user