diff options
Diffstat (limited to 'src/trace/coqTerms.ml')
-rw-r--r-- | src/trace/coqTerms.ml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/trace/coqTerms.ml b/src/trace/coqTerms.ml index ca5f3cc..6cbdbc0 100644 --- a/src/trace/coqTerms.ml +++ b/src/trace/coqTerms.ml @@ -452,7 +452,9 @@ let list_of_constr_tuple = let c, args = Structures.decompose_app t in if c = Lazy.force cpair then match args with - | [_;_;t;l] -> list_of_constr_tuple (l::acc) t + | [_;_;t1;t2] -> + let acc' = list_of_constr_tuple acc t1 in + list_of_constr_tuple acc' t2 | _ -> assert false else t::acc |