Skip to content

Commit

Permalink
Cursor inspector now uses typ equality as opposed to full structural …
Browse files Browse the repository at this point in the history
…equality
  • Loading branch information
7h3kk1d committed Nov 18, 2024
1 parent 297b04b commit 3b92cc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/haz3lweb/view/CursorInspector.re
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ let common_ok_view = (cls: Cls.t, ok: Info.ok_pat) => {
text(":"),
Type.view(ana),
]
| (_, Ana(Consistent({ana, syn, _}))) when ana == syn => [
| (_, Ana(Consistent({ana, syn, _}))) when Typ.fast_equal(ana, syn) => [
text(":"),
Type.view(syn),
text("equals expected type"),
Expand Down

0 comments on commit 3b92cc0

Please sign in to comment.