Skip to content

Commit

Permalink
wip: typecheck: query type just to make sure?
Browse files Browse the repository at this point in the history
  • Loading branch information
CohenArthur committed Dec 24, 2024
1 parent a4487dd commit f84f1fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gcc/rust/typecheck/rust-hir-type-check-path.cc
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ TypeCheckExpr::visit (HIR::PathInExpression &expr)

rust_assert (resolved);

query_type(*hir_id, &infered);

infered = SubstMapper::InferSubst (resolved, expr.get_locus ());
}

Expand Down

0 comments on commit f84f1fd

Please sign in to comment.