'yield' reserved as a keyword

This commit is contained in:
Andrey Breslav
2015-12-08 18:31:20 +03:00
parent e6bba01798
commit 434082cadb
123 changed files with 1138 additions and 1073 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
//statement
int as, type, val, var, fun, is, in, object, when;
int as, type, val, var, fun, is, in, object, when, yield;
+2 -1
View File
@@ -6,4 +6,5 @@ val `fun`: Int
val `is`: Int
val `in`: Int
val `object`: Int
val `when`: Int
val `when`: Int
val `yield`: Int
@@ -1,6 +1,6 @@
//file
package test;
import as.type.val.var.fun.is.in.object.when;
import as.type.val.var.fun.is.in.object.when.yield;
class Test {}
@@ -1,6 +1,6 @@
// ERROR: Unresolved reference: `as`
package test
import `as`.type.`val`.`var`.`fun`.`is`.`in`.`object`.`when`
import `as`.type.`val`.`var`.`fun`.`is`.`in`.`object`.`when`.`yield`
internal class Test