mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
lookup symbols when coming from Defs
This commit is contained in:
parent
db09d49cd7
commit
1e41aac0f2
2 changed files with 5 additions and 2 deletions
|
@ -2778,7 +2778,7 @@ pub struct DestructureDef {
|
|||
pub pattern_vars: VecMap<Symbol, Variable>,
|
||||
}
|
||||
|
||||
fn get_lookup_symbols(expr: &Expr) -> Vec<ExpectLookup> {
|
||||
pub(crate) fn get_lookup_symbols(expr: &Expr) -> Vec<ExpectLookup> {
|
||||
let mut stack: Vec<&Expr> = vec![expr];
|
||||
let mut lookups: Vec<ExpectLookup> = Vec::new();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue