Skip to content

Commit

Permalink
Fix for typehole join issue (#1245)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrus- authored Mar 15, 2024
2 parents 8118701 + 88a23ab commit 430d220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/haz3lcore/statics/TypBase.re
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ module rec Typ: {
| (Unknown(p1), Unknown(p2)) =>
Some(Unknown(join_type_provenance(p1, p2)))
| (Unknown(_), ty)
| (ty, Unknown(Internal | SynSwitch)) => Some(ty)
| (ty, Unknown(_)) => Some(ty)
| (Var(n1), Var(n2)) =>
if (n1 == n2) {
Some(Var(n1));
Expand Down

0 comments on commit 430d220

Please sign in to comment.