File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -939,12 +939,14 @@ backPropagation relevant (SolverPlan initplan) = SolverPlan (go [] (reverse init
939939 termVarEqCases :: HasSpec b => Specification a -> Var b -> Term b -> [SolverStage ]
940940 termVarEqCases (MemberSpec vs) x' t
941941 | Set. singleton (Name x) == freeVarSet t =
942- [SolverStage x' [] (MemberSpec (NE. nub (fmap (\ v -> errorGE $ runTerm (Env. singleton x v) t) vs))) relevant]
942+ [SolverStage x' [] (MemberSpec (NE. nub (fmap (\ v -> errorGE $ runTerm (Env. singleton x v) t) vs)))
943+ (Set. insert (Name x') relevant)]
943944 termVarEqCases specx x' t
944945 | Just Refl <- eqVar x x'
945946 , [Name y] <- Set. toList $ freeVarSet t
946947 , Result ctx <- toCtx y t =
947- [SolverStage y [] (propagateSpec specx ctx) relevant]
948+ [SolverStage y [] (propagateSpec specx ctx)
949+ (Set. insert (Name x') relevant)]
948950 termVarEqCases _ _ _ = []
949951
950952-- | Function symbols for `(==.)`
@@ -1342,10 +1344,7 @@ newtype SolverPlan = SolverPlan { solverPlan :: [SolverStage] }
13421344
13431345instance Pretty SolverPlan where
13441346 pretty SolverPlan {.. } =
1345- " \n SolverPlan"
1346- /> vsep'
1347- [ " \n Linearization:" /> prettyLinear solverPlan
1348- ]
1347+ " SolverPlan" /> prettyLinear solverPlan
13491348
13501349isTrueSpec :: Specification a -> Bool
13511350isTrueSpec TrueSpec = True
You can’t perform that action at this time.
0 commit comments