Skip to content

Commit

Permalink
RPC server should return stuck (#3634)
Browse files Browse the repository at this point in the history
The server currently returns `depth-bound` as a reason, when no
applicable rules were found. The reason should instead be `stuck` 
if max-depth wasn't reached.
  • Loading branch information
goodlyrottenapple authored Aug 1, 2023
1 parent 74b14c4 commit 3cfcc04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kore/src/Kore/JsonRpc.hs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ respond serverState moduleName runSMT =
ExecuteResult
{ state = patternToExecState sort result
, depth = Depth depth
, reason = DepthBound
, reason = if Just (Depth depth) == maxDepth then DepthBound else Stuck
, rule = Nothing
, nextStates = Nothing
, logs = mkLogs rules
Expand Down

0 comments on commit 3cfcc04

Please sign in to comment.