KT-981 Update Kotlin keywords

This commit is contained in:
Sergey Ignatov
2012-01-16 12:44:58 +04:00
parent 0e37d92bc0
commit f2e6716c82
5 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ public abstract class Node implements INode {
@NotNull
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
@@ -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 `type` : Int
var `val` : Int
@@ -1,5 +1,5 @@
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 {}
@@ -1,4 +1,4 @@
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() {
}