Change resolution priority about implicit receivers and synthesized member-like descriptors.
Change resolution to consider extensions to implicit receiver before members of another implicit receiver. Make synthesized member-like extensions resolve right after the members. #KT-10510 Fixed #KT-10219 Fixed
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ fun test(a: A, b: B, c: C) {
|
||||
|
||||
with(c) {
|
||||
with(a) {
|
||||
foo checkType { _<C>() } // todo
|
||||
foo checkType { _<A>() }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user