Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into traits_overhaul
Browse files Browse the repository at this point in the history
  • Loading branch information
osa1 committed Feb 3, 2025
2 parents a01db98 + d888a55 commit a33e854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/type_checker/ty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ impl TyVarRef {

pub(super) fn normalize(&self, cons: &ScopeMap<Id, TyCon>) -> Ty {
let link = match &*self.0.link.borrow() {
Some(link) => link.normalize(cons).deep_normalize(cons),
Some(link) => link.normalize(cons),
None => return Ty::Var(self.clone()),
};
self.set_link(link.clone());
Expand Down

0 comments on commit a33e854

Please sign in to comment.