Regenerate tests for JS reserved words
This commit is contained in:
committed by
Dmitry Jemerov
parent
a1979b6eb4
commit
98867addc9
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user