[FE] Implement temporary resolution algorithm
This commit is contained in:
committed by
TeamCityServer
parent
d923c95671
commit
c34fe8d547
+18
@@ -0,0 +1,18 @@
|
||||
class A
|
||||
class B
|
||||
class C
|
||||
|
||||
context(A) fun B.f() {}
|
||||
context(A) fun B.g() {
|
||||
f()
|
||||
}
|
||||
context(A) fun C.h() {
|
||||
<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>f<!>()
|
||||
}
|
||||
|
||||
fun A.q(b: B) {
|
||||
with(b) {
|
||||
f()
|
||||
}
|
||||
<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>f<!>()
|
||||
}
|
||||
Reference in New Issue
Block a user