Skip to content

Commit

Permalink
Update core/src/typecheck/mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
yannham committed Jul 25, 2023
1 parent 0e7a4f2 commit 4607564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/typecheck/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2267,7 +2267,7 @@ fn infer<L: Linearizer>(
// specification), we will have a more advanced and specific rule to guess the
// instantiation of the potentially polymorphic type of the head of the application.
// Currently, we limit ourselves to predicative instantiation, and we can get away
// by eagerly instantiating heading `foralls` with fresh unification variables.
// with eagerly instantiating heading `foralls` with fresh unification variables.
let head_poly = infer(state, ctxt.clone(), lin, linearizer.scope(), e)?;
let head = instantiate_foralls(state, &mut ctxt, head_poly, ForallInst::UnifVar);

Expand Down

0 comments on commit 4607564

Please sign in to comment.