mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-11 05:34:11 +03:00
implement two todo!'s
This commit is contained in:
parent
0e74cc14cc
commit
db09d49cd7
@ -2840,8 +2840,16 @@ fn get_lookup_symbols(expr: &Expr) -> Vec<ExpectLookup> {
|
||||
|
||||
stack.push(&final_else.value);
|
||||
}
|
||||
Expr::LetRec(_, _, _) => todo!(),
|
||||
Expr::LetNonRec { .. } => todo!(),
|
||||
Expr::LetRec(defs, expr, _illegal_cycle_mark) => {
|
||||
for def in defs {
|
||||
stack.push(&def.loc_expr.value);
|
||||
}
|
||||
stack.push(&expr.value);
|
||||
}
|
||||
Expr::LetNonRec(def, expr) => {
|
||||
stack.push(&def.loc_expr.value);
|
||||
stack.push(&expr.value);
|
||||
}
|
||||
Expr::Call(boxed_expr, args, _called_via) => {
|
||||
stack.reserve(1 + args.len());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user