Regenerate tests for JS reserved words
This commit is contained in:
committed by
Dmitry Jemerov
parent
a1979b6eb4
commit
98867addc9
@@ -0,0 +1,23 @@
|
||||
package foo
|
||||
|
||||
// NOTE THIS FILE IS AUTO-GENERATED by the generateTestDataForReservedWords.kt. DO NOT EDIT!
|
||||
|
||||
interface Trait {
|
||||
var case: Int
|
||||
}
|
||||
|
||||
class TraitImpl : Trait {
|
||||
override var case: Int = 0
|
||||
}
|
||||
|
||||
class TestDelegate : Trait by TraitImpl() {
|
||||
fun test() {
|
||||
testNotRenamed("case", { case })
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
TestDelegate().test()
|
||||
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user