KT-981 Update Kotlin keywords
This commit is contained in:
@@ -18,7 +18,7 @@ public abstract class Node implements INode {
|
|||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
final static Set<String> ONLY_KOTLIN_KEYWORDS = new HashSet<String>(Arrays.asList(
|
final static Set<String> ONLY_KOTLIN_KEYWORDS = new HashSet<String>(Arrays.asList(
|
||||||
"namespace", "as", "type", "val", "var", "fun", "is", "in", "object", "when", "trait", "This"
|
"package", "as", "type", "val", "var", "fun", "is", "in", "object", "when", "trait", "This"
|
||||||
));
|
));
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
int namespace, as, type, val, var, fun, is, in, object, when, trait, This;
|
int as, type, val, var, fun, is, in, object, when, trait, This;
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
var `namespace` : Int
|
|
||||||
var `as` : Int
|
var `as` : Int
|
||||||
var `type` : Int
|
var `type` : Int
|
||||||
var `val` : Int
|
var `val` : Int
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
package test;
|
package test;
|
||||||
|
|
||||||
import namespace.as.type.val.var.fun.is.in.object.when.trait.This;
|
import as.type.val.var.fun.is.in.object.when.trait.This;
|
||||||
|
|
||||||
class Test {}
|
class Test {}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
package test
|
package test
|
||||||
import `namespace`.`as`.`type`.`val`.`var`.`fun`.`is`.`in`.`object`.`when`.`trait`.`This`
|
import `as`.`type`.`val`.`var`.`fun`.`is`.`in`.`object`.`when`.`trait`.`This`
|
||||||
open class Test() {
|
open class Test() {
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user