mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
scope.lookup_str
This commit is contained in:
parent
b241bcf777
commit
95bf8bb505
4 changed files with 10 additions and 6 deletions
|
@ -1320,7 +1320,7 @@ fn canonicalize_var_lookup(
|
|||
let can_expr = if module_name.is_empty() {
|
||||
// Since module_name was empty, this is an unqualified var.
|
||||
// Look it up in scope!
|
||||
match scope.lookup(&(*ident).into(), region) {
|
||||
match scope.lookup_str(ident, region) {
|
||||
Ok(symbol) => {
|
||||
output.references.insert_value_lookup(symbol);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue