[FIR] KT-59421 add checker context receiver property backing field
This commit is contained in:
-17
@@ -1,17 +0,0 @@
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
|
||||
interface A {
|
||||
fun a(): Int
|
||||
}
|
||||
interface B {
|
||||
fun b(): Int
|
||||
}
|
||||
|
||||
context(A)
|
||||
val a = 1
|
||||
|
||||
context(A, B)
|
||||
var b = 2
|
||||
|
||||
context(A, B)
|
||||
val c get() = a() + b()
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
|
||||
interface A {
|
||||
|
||||
Reference in New Issue
Block a user