diff options
author | 2007-04-13 13:20:51 +0000 | |
---|---|---|
committer | 2007-04-13 13:20:51 +0000 | |
commit | c7b4398341e1fec6c485f39cde8d42fa3ff6abff (patch) | |
tree | 287f86abf547207168f55c4e4fe37d06f0a58b3d /interp | |
parent | ba8f9564e492cd8d25a193cfc5883ed06faaea02 (diff) |
Correction bug #1477 sur ordre des variables partagées par les or-patterns.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@9764 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'interp')
-rw-r--r-- | interp/constrintern.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interp/constrintern.ml b/interp/constrintern.ml index f067eda6b..77e6ba42c 100644 --- a/interp/constrintern.ml +++ b/interp/constrintern.ml @@ -384,7 +384,7 @@ let check_number_of_pattern loc n l = if n<>p then raise (InternalisationError (loc,BadPatternsNumber (n,p))) let check_or_pat_variables loc ids idsl = - if List.exists ((<>) ids) idsl then + if List.exists (fun ids' -> not (list_eq_set ids ids')) idsl then user_err_loc (loc, "", str "The components of this disjunctive pattern must bind the same variables") |