[K2] Disappeared UNSUPPORTED_FEATURE (2)
Added a check for the enabled context receivers feature flag for declaration. ^KT-59913
This commit is contained in:
committed by
Space Team
parent
685c8e4fe7
commit
c04767f1f4
+6
@@ -16,6 +16,12 @@ fun sameAsFWithoutNonContextualCounterpart(g: () -> Unit, value: Any) : () -> Un
|
||||
|
||||
<!UNSUPPORTED_FEATURE!>context(Any)<!> val p get() = 42
|
||||
|
||||
<!UNSUPPORTED_FEATURE!>context(String, Int)<!>
|
||||
class D constructor(){}
|
||||
|
||||
<!UNSUPPORTED_FEATURE!>context(String, Int)<!>
|
||||
class C(){}
|
||||
|
||||
<!UNSUPPORTED_FEATURE!>context(String, Int)<!>
|
||||
class A {
|
||||
<!UNSUPPORTED_FEATURE!>context(Any)<!>
|
||||
|
||||
Reference in New Issue
Block a user