FIR: Support context receiver in FIR building

This commit is contained in:
Denis.Zharkov
2022-02-17 14:01:58 +03:00
committed by teamcity
parent 4379460177
commit 54c3e7e7c5
12 changed files with 157 additions and 0 deletions
@@ -0,0 +1,11 @@
context(A, b@B)
fun foo() {}
context(A, b@B)
val x: Int get() = 1
context(A, b@B)
class C
fun bar1(x: context(A, B)() -> Unit) {}
fun bar2(x: context(A, B) C.() -> Unit) {}