Revert "'yield' reserved as a keyword"

This reverts commit 434082cadb.
This commit is contained in:
Denis Zharkov
2016-05-19 14:36:03 +03:00
parent 5c1e17c8e7
commit 20d1d12f3b
124 changed files with 1408 additions and 1404 deletions
@@ -0,0 +1,26 @@
package foo
// NOTE THIS FILE IS AUTO-GENERATED by the generateTestDataForReservedWords.kt. DO NOT EDIT!
interface Trait {
fun foo(`interface`: String)
}
class TraitImpl : Trait {
override fun foo(`interface`: String) {
assertEquals("123", `interface`)
testRenamed("interface", { `interface` })
}
}
class TestDelegate : Trait by TraitImpl() {
fun test() {
foo("123")
}
}
fun box(): String {
TestDelegate().test()
return "OK"
}