mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
disable tai-call detection for now
I think this needs some more structural work. This change keeps tests passing for now.
This commit is contained in:
parent
d171506fc7
commit
ad3fdcf843
1 changed files with 2 additions and 1 deletions
|
@ -304,7 +304,8 @@ fn canonicalize_expr(
|
|||
output.references.calls.insert(sym.clone());
|
||||
|
||||
// we're tail-calling a symbol by name
|
||||
output.tail_call = Some(sym.clone());
|
||||
// TODO re-enable tail-call detection
|
||||
// output.tail_call = Some(sym.clone());
|
||||
|
||||
Call(Box::new(fn_expr.value), args, *application_style)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue