mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
PNC for Patterns, stabilize formatting
This commit is contained in:
parent
bac165fd99
commit
3b0db07fa1
78 changed files with 789 additions and 332 deletions
|
@ -411,7 +411,7 @@ pub fn canonicalize_pattern<'a>(
|
|||
)));
|
||||
Pattern::UnsupportedPattern(region)
|
||||
}
|
||||
Apply(tag, patterns) => {
|
||||
Apply(tag, patterns, _) => {
|
||||
let mut can_patterns = Vec::with_capacity(patterns.len());
|
||||
for loc_pattern in *patterns {
|
||||
let can_pattern = canonicalize_pattern(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue