mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
Merge remote-tracking branch 'origin/trunk' into pattern-compilation
This commit is contained in:
commit
6310341b7e
9 changed files with 322 additions and 81 deletions
|
@ -254,7 +254,6 @@ fn recover_ctor(
|
|||
arity: usize,
|
||||
mut patterns: Vec<Pattern>,
|
||||
) -> Vec<Pattern> {
|
||||
// TODO ensure that this behaves the same as haskell's splitAt
|
||||
let mut rest = patterns.split_off(arity);
|
||||
let args = patterns;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue