[FE] KT-50878 Prohibit using contextual declarations without -Xcontext-receivers
This commit is contained in:
committed by
teamcity
parent
c93594331b
commit
a86b4d767e
+4
@@ -1,6 +1,10 @@
|
||||
package
|
||||
|
||||
context(kotlin.Any) public val p: kotlin.Int
|
||||
public fun f(/*0*/ g: () -> kotlin.Unit, /*1*/ value: kotlin.Any): () -> kotlin.Unit
|
||||
context(kotlin.Any) public fun f(/*0*/ g: context(kotlin.Any) () -> kotlin.Unit, /*1*/ value: kotlin.Any): context(A) () -> kotlin.Unit
|
||||
context(kotlin.Any) public fun sameAsFWithoutNonContextualCounterpart(/*0*/ g: () -> kotlin.Unit, /*1*/ value: kotlin.Any): () -> kotlin.Unit
|
||||
public fun useWithContextReceivers(): kotlin.Unit
|
||||
|
||||
context(kotlin.String, kotlin.Int) public final class A {
|
||||
public constructor A()
|
||||
|
||||
Reference in New Issue
Block a user