diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-06-06 14:09:30 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-06-06 14:09:30 -0400 |
commit | 4d4d6e4aea6565fa167296d16f94f4b768d5414e (patch) | |
tree | 1d3da14055d91262a0e36315573406b564790fdc /src/elaborate.sml | |
parent | a144d74a7fb416108f643daaa3a734e416683737 (diff) |
List library additions; fix another substructure unification bug
Diffstat (limited to 'src/elaborate.sml')
-rw-r--r-- | src/elaborate.sml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/elaborate.sml b/src/elaborate.sml index d60f19f7..92792cd5 100644 --- a/src/elaborate.sml +++ b/src/elaborate.sml @@ -2637,7 +2637,8 @@ and subSgn' counterparts env sgn1 (sgn2 as (_, loc2)) = val env = if n1 = n2 then env else - E.pushCNamedAs env x n1 k1 (SOME c1) + (cparts (n2, n1); + E.pushCNamedAs env x n1 k1 (SOME c1)) in SOME env end @@ -2894,7 +2895,8 @@ and subSgn' counterparts env sgn1 (sgn2 as (_, loc2)) = val env = if n1 = n2 then env else - E.pushCNamedAs env x n1 k2 (SOME c1) + (cparts (n2, n1); + E.pushCNamedAs env x n1 k2 (SOME c1)) in SOME env end |