[Metadata] Add context receivers to metadata.proto
[Tests] Add JvmVersionRequirementTest
This commit is contained in:
committed by
TeamCityServer
parent
b3591e77be
commit
d47cf315e7
@@ -0,0 +1,21 @@
|
||||
package test
|
||||
|
||||
interface A
|
||||
interface B
|
||||
|
||||
context(A, B)
|
||||
class ClassWithCR {
|
||||
context(A, B)
|
||||
val memberPropWithCR: Any?
|
||||
get() = null
|
||||
|
||||
context(A, B)
|
||||
fun memberFunWithCR() {}
|
||||
}
|
||||
|
||||
context(A, B)
|
||||
fun topLevelFunWithCR() {}
|
||||
|
||||
context(A, B)
|
||||
val topLevelPropWithCR: Any?
|
||||
get() = null
|
||||
Reference in New Issue
Block a user