Skip to content

Commit 58370f8

Browse files
committed
Fix substitution externalisation
1 parent d4679fa commit 58370f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

booster/library/Booster/Syntax/Json/Externalise.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ externalisePattern ::
3535
externalisePattern Internal.Pattern{term = term, constraints, ceilConditions, substitution = ensuredSubstitution} inputSubstitution =
3636
-- need a sort for the predicates in external format
3737
let sort = externaliseSort $ sortOfTerm term
38-
substitutions = inputSubstitution <> ensuredSubstitution
38+
substitutions = ensuredSubstitution <> inputSubstitution -- TODO ensuredSubstitution takes priority. Do we even need inputSubstitution?
3939
externalisedSubstitution =
4040
if null substitutions
4141
then Nothing

0 commit comments

Comments
 (0)