Reserve 'typeof' as a keyword

This commit is contained in:
Alexey Tsvetkov
2015-12-09 18:37:31 +03:00
parent 4c3f620255
commit 199827635f
141 changed files with 1126 additions and 1102 deletions
@@ -0,0 +1,18 @@
package foo
// NOTE THIS FILE IS AUTO-GENERATED by the generateTestDataForReservedWords.kt. DO NOT EDIT!
enum class Foo {
BAR;
var instanceof: Int = 0
fun test() {
testNotRenamed("instanceof", { instanceof })
}
}
fun box(): String {
Foo.BAR.test()
return "OK"
}