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:
Folkert 2019-11-29 13:23:15 +01:00
parent d171506fc7
commit ad3fdcf843

View file

@ -304,7 +304,8 @@ fn canonicalize_expr(
output.references.calls.insert(sym.clone()); output.references.calls.insert(sym.clone());
// we're tail-calling a symbol by name // 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) Call(Box::new(fn_expr.value), args, *application_style)
} }