Kapt3: As javac now reads stubs from Java files, not from AST, we should provide the valid names for all identifiers (at least names should not clash with Java keywords).

Rename identifiers if it clashes with Java keywords. (KT-15838)
This commit is contained in:
Yan Zhulanow
2017-01-21 13:59:39 +09:00
parent e28b4dfbc7
commit 72bbf9697b
6 changed files with 72 additions and 5 deletions
+4
View File
@@ -0,0 +1,4 @@
class default {
lateinit val extends: String
fun implements(instanceof: Int) {}
}