Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Halbaroth committed May 10, 2024
1 parent 53fc389 commit 0446b52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/structures/expr.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1990,15 +1990,15 @@ module Triggers = struct

| { f = Op (Access a1) ; xs=[t1]; _ },
{ f = Op (Access a2) ; xs=[t2]; _ } ->
let c = Hstring.compare a1 a2 in (* should be Hstring.compare *)
let c = Uid.compare a1 a2 in
if c<>0 then c else cmp_trig_term t1 t2

| { f = Op (Access _); _ }, _ -> -1
| _, { f = Op (Access _); _ } -> 1

| { f = Op (Destruct a1) ; xs = [t1]; _ },
{ f = Op (Destruct a2) ; xs = [t2]; _ } ->
let c = Hstring.compare a1 a2 in (* should be Hstring.compare *)
let c = Uid.compare a1 a2 in
if c<>0 then c else cmp_trig_term t1 t2

| { f = Op (Destruct _); _ }, _ -> -1
Expand Down

0 comments on commit 0446b52

Please sign in to comment.