Commit 80631d19 authored by dgelessus's avatar dgelessus
Browse files

Fix :trace sometimes displaying transitions as null

parent 6db07123
Pipeline #62875 passed with stage
in 5 minutes and 9 seconds
......@@ -11,6 +11,7 @@
* This is an internal change and should not affect any user-visible behavior. That is, all inputs that were accepted by previous versions should still be accepted - if any previously valid inputs are no longer accepted, this is a bug.
* As a side effect, the inspection and code completion features now work better in a few edge cases.
* Fixed a bug where interrupting a command could make the kernel completely stop responding, requiring a manual restart.
* Fixed the `:trace` command sometimes displaying transitions as `null`.
## [1.2.0](
......@@ -4,6 +4,7 @@ import java.util.List;
import de.prob.animator.domainobjects.FormulaExpand;
import de.prob.statespace.AnimationSelector;
import de.prob.statespace.Trace;
import de.prob.statespace.Transition;
......@@ -66,7 +67,7 @@ public final class TraceCommand implements Command {
final List<Transition> transitionList = trace.getTransitionList();
for (int i = 0; i < transitionList.size(); i++) {
final Transition transition = transitionList.get(i);
final Transition transition = transitionList.get(i).evaluate(FormulaExpand.TRUNCATE);
sbPlain.append(": ");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment