diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2014-03-01 18:26:26 +0100 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2014-03-01 22:45:39 +0100 |
commit | 87b510e5b0f363724eae5db9f177f167a3586015 (patch) | |
tree | 204c7ad1e1ba38945ab58d74e28d8cf67201fe71 /library/globnames.ml | |
parent | bca756eaebf16b6145c65b53629219d2a0a8b1ba (diff) |
Fixing pervasive comparisons
Diffstat (limited to 'library/globnames.ml')
-rw-r--r-- | library/globnames.ml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/globnames.ml b/library/globnames.ml index cb9e4c872..1eb21b6eb 100644 --- a/library/globnames.ml +++ b/library/globnames.ml @@ -132,7 +132,8 @@ module ExtRefOrdered = struct match x, y with | TrueGlobal rx, TrueGlobal ry -> global_ord_user rx ry | SynDef knx, SynDef kny -> kn_ord knx kny - | _, _ -> Pervasives.compare x y + | TrueGlobal _, SynDef _ -> -1 + | SynDef _, TrueGlobal _ -> 1 end type global_reference_or_constr = |