mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
new formatting
This commit is contained in:
parent
981e026a58
commit
e0648d348d
6 changed files with 6 additions and 19 deletions
|
@ -1110,10 +1110,8 @@ fn canonicalize_pending_def<'a>(
|
|||
// identifier (e.g. `f = \x -> ...`), then this symbol can be tail-called.
|
||||
let outer_identifier = env.tailcallable_symbol;
|
||||
|
||||
if let (
|
||||
&ast::Pattern::Identifier(_name),
|
||||
&Pattern::Identifier(ref defined_symbol),
|
||||
) = (&loc_pattern.value, &loc_can_pattern.value)
|
||||
if let (&ast::Pattern::Identifier(_name), &Pattern::Identifier(ref defined_symbol)) =
|
||||
(&loc_pattern.value, &loc_can_pattern.value)
|
||||
{
|
||||
env.tailcallable_symbol = Some(*defined_symbol);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue