Drop YIELD_IS_RESERVED diagnostic in 1.7.0 #KT-27750 Fixed

This commit is contained in:
Mikhail Glukhikh
2021-10-21 10:35:11 +03:00
committed by teamcity
parent 0739925869
commit 61e0375900
22 changed files with 348 additions and 12 deletions
@@ -0,0 +1,23 @@
package
package p1 {
package p1.yield {
public val yield: kotlin.Int = 5
public fun bar(/*0*/ yield: kotlin.Int = ...): kotlin.Unit
public fun foo(): kotlin.Unit
public fun yield(/*0*/ i: (kotlin.Int) -> kotlin.Unit): kotlin.Unit
public fun yield(/*0*/ yield: kotlin.Int): kotlin.Unit
}
}
package p2 {
package p2.yield {
public val yield: kotlin.Int = 5
public fun bar(/*0*/ yield: kotlin.Int = ...): kotlin.Unit
public fun foo(): kotlin.Unit
public fun yield(/*0*/ i: (kotlin.Int) -> kotlin.Unit): kotlin.Unit
public fun yield(/*0*/ yield: kotlin.Int): kotlin.Unit
}
}