Regenerate tests for JS reserved words

This commit is contained in:
Zalim Bashorov
2015-09-18 19:29:03 +03:00
committed by Dmitry Jemerov
parent a1979b6eb4
commit 98867addc9
185 changed files with 1435 additions and 1314 deletions
@@ -0,0 +1,25 @@
package foo
// NOTE THIS FILE IS AUTO-GENERATED by the generateTestDataForReservedWords.kt. DO NOT EDIT!
interface Trait {
fun `null`()
}
class TraitImpl : Trait {
override fun `null`() {
`null`()
}
}
class TestDelegate : Trait by TraitImpl() {
fun test() {
testNotRenamed("null", { ::`null` })
}
}
fun box(): String {
TestDelegate().test()
return "OK"
}