Skip to content

Commit fed06a3

Browse files
cixtorgraydon
authored andcommitted
---
yaml --- r: 1234 b: refs/heads/master c: c489abe h: refs/heads/master v: v3
1 parent 9fb8058 commit fed06a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 359d72b4d047c3eb6fa13b0ae7b4a7432c0af785
2+
refs/heads/master: c489abedb49604ef008d2a6289c34767d9cc5f03

trunk/src/comp/middle/resolve.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ fn fold_view_item_import(&env e, &span sp,
316316
// Produce errors for invalid imports
317317
auto len = _vec.len[ast.ident](is);
318318
auto last_id = is.(len - 1u);
319-
auto d = lookup_name(e, none[import_map], last_id);
319+
auto d = find_final_def(e, sp, is);
320320
alt (d) {
321321
case (none[def_wrap]) {
322322
e.sess.span_err(sp, "unresolved name: " + last_id);

0 commit comments

Comments
 (0)