mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
get RBTree.balance to compile
This commit is contained in:
parent
ec3868ed7e
commit
154b5cc29f
5 changed files with 104 additions and 83 deletions
|
@ -4398,6 +4398,7 @@ fn store_pattern<'a>(
|
|||
field_layouts: arg_layouts.clone().into_bump_slice(),
|
||||
structure: outer_symbol,
|
||||
};
|
||||
|
||||
match argument {
|
||||
Identifier(symbol) => {
|
||||
// store immediately in the given symbol
|
||||
|
|
|
@ -435,6 +435,7 @@ impl<'a> Layout<'a> {
|
|||
match self {
|
||||
Layout::Builtin(Builtin::List(_, _)) => true,
|
||||
Layout::RecursiveUnion(_) => true,
|
||||
Layout::RecursivePointer => true,
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue