Skip to content

Commit fe3b9f3

Browse files
committed
this is a bit too easy...
Former-commit-id: a2810ec4d6f86801541f46c4b3873ede9703226e [formerly 0e4335ca13ee67376b9ac5c4a51e23103189dfd9] Former-commit-id: 71fc79b2bffaa720e594a28a724930d293d8c666
1 parent e6a7ddf commit fe3b9f3

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

java-backend/src/main/java/org/kframework/backend/java/kil/RuleAutomatonDisjunction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

k-distribution/tutorial/2_languages/1_simple/2_typed/1_static/simple-typed-static.k

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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]

0 commit comments

Comments
 (0)