'yield' reserved as a keyword
This commit is contained in:
+1
-1
@@ -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
@@ -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
|
||||
Reference in New Issue
Block a user