File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
plugins/hls-tactics-plugin/src/Wingman Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -82,11 +82,12 @@ runTactic ctx jdg t =
8282 flip sortBy solns $ comparing $ \ (ext, (_, holes)) ->
8383 Down $ scoreSolution ext jdg holes
8484 case sorted of
85- ((syn, _ ) : _) ->
85+ ((syn, (_, subgoals) ) : _) ->
8686 Right $
8787 RunTacticResults
88- { rtr_trace = syn_trace syn
89- , rtr_extract = simplify $ syn_val syn
88+ { rtr_trace = syn_trace syn
89+ , rtr_extract = simplify $ syn_val syn
90+ , rtr_subgoals = subgoals
9091 , rtr_other_solns = reverse . fmap fst $ sorted
9192 , rtr_jdg = jdg
9293 , rtr_ctx = ctx
Original file line number Diff line number Diff line change @@ -476,6 +476,7 @@ rose a rs = Rose $ Node a $ coerce rs
476476data RunTacticResults = RunTacticResults
477477 { rtr_trace :: Trace
478478 , rtr_extract :: LHsExpr GhcPs
479+ , rtr_subgoals :: [Judgement ]
479480 , rtr_other_solns :: [Synthesized (LHsExpr GhcPs )]
480481 , rtr_jdg :: Judgement
481482 , rtr_ctx :: Context
You can’t perform that action at this time.
0 commit comments