-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Partially fix bug in type resolution of paths
gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-path.cc (TypeCheckExpr::resolve_root_path): Use segment node ids instead of the path node id to look up segment resolutions in the 2.0 resolver, like is done with the 1.0 resolver, when possible. * typecheck/rust-hir-type-check-type.cc (TypeCheckType::resolve_root_path): Likewise, also remove unnecessary capture of path in lambda. Signed-off-by: Owen Avery <[email protected]>
- Loading branch information
1 parent
10cc6e8
commit 7713675
Showing
2 changed files
with
22 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters