[FE] Move context receivers checks to the separate resolution part
This commit is contained in:
committed by
TeamCityServer
parent
37a981cc29
commit
bfd20e1890
+1
-1
@@ -7,5 +7,5 @@ context(T)
|
||||
fun <T> T.f(t: B<T>) {}
|
||||
|
||||
fun Int.main(a: A, b: B<String>) {
|
||||
a.f(<!TYPE_MISMATCH, TYPE_MISMATCH!>b<!>)
|
||||
a.<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>f<!>(b)
|
||||
}
|
||||
Reference in New Issue
Block a user