File tree Expand file tree Collapse file tree
java-backend/src/main/java/org/kframework/backend/java/kil
k-distribution/tutorial/2_languages/1_simple/2_typed/1_static Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ public boolean isExactSort() {
137137
138138 @ Override
139139 public boolean isSymbolic () {
140- throw new UnsupportedOperationException () ;
140+ return true ;
141141 }
142142
143143 @ Override
Original file line number Diff line number Diff line change @@ -595,18 +595,17 @@ list of variable declarations. */
595595// syntax LValue ::= Id | Exp "[" Exps "]"
596596// but unfortunately that currently generates some ambiguous parsings.
597597 syntax LValue ::= Id
598- //// rule isLValue(_:Exp[_:Exps]) => true
598+ rule isLValue(_:Exp[_:Exps]) => true
599599
600600 syntax Exp ::= ltype(Exp)
601601// We would like to say:
602602// context ltype(HOLE:LValue)
603603// but we currently cannot type the HOLE
604604// context ltype(HOLE) requires isLValue(HOLE)
605605
606- context ltype(HOLE:LValue )
606+ context ltype(HOLE) requires isLValue(HOLE )
607607 syntax Exp ::= LValue
608608
609-
610609//@ The function \texttt{getTypes} is the same as in SIMPLE typed dynamic.
611610
612611 syntax Types ::= getTypes(Params) [function]
You can’t perform that action at this time.
0 commit comments