@@ -93,7 +93,6 @@ class EffektLexers(positions: Positions) extends Parsers(positions) {
93
93
lazy val `at` = keyword(" at" )
94
94
lazy val `in` = keyword(" in" )
95
95
lazy val `box` = keyword(" box" )
96
- lazy val `unbox` = keyword(" unbox" )
97
96
lazy val `return` = keyword(" return" )
98
97
lazy val `region` = keyword(" region" )
99
98
lazy val `resource` = keyword(" resource" )
@@ -106,7 +105,7 @@ class EffektLexers(positions: Positions) extends Parsers(positions) {
106
105
" def" , " let" , " val" , " var" , " true" , " false" , " else" , " type" ,
107
106
" effect" , " interface" , " try" , " with" , " case" , " do" , " if" , " while" ,
108
107
" match" , " module" , " import" , " extern" , " fun" ,
109
- " at" , " box" , " unbox " , " return" , " region" , " new" , " resource" , " and" , " is" , " namespace"
108
+ " at" , " box" , " return" , " region" , " new" , " resource" , " and" , " is" , " namespace"
110
109
)
111
110
112
111
def keyword (kw : String ): Parser [String ] =
@@ -419,7 +418,6 @@ class CoreParsers(positions: Positions, names: Names) extends EffektLexers(posit
419
418
// ------
420
419
lazy val block : P [Block ] =
421
420
( blockVar
422
- | `unbox` ~> pure ^^ Block .Unbox .apply
423
421
| `new` ~> implementation ^^ Block .New .apply
424
422
| blockLit
425
423
// TODO check left associative nesting (also for select)
0 commit comments