mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
cleanup, improve docs
This commit is contained in:
parent
c32fa5b600
commit
0143035dc0
8 changed files with 42 additions and 60 deletions
|
@ -265,7 +265,6 @@ pub fn canonicalize_def_header_pattern<'a>(
|
|||
|
||||
match pattern {
|
||||
// Identifiers that shadow ability members may appear (and may only appear) at the header of a def.
|
||||
// TODO should we use suffixed here?
|
||||
Identifier {
|
||||
ident: name,
|
||||
suffixed: _,
|
||||
|
@ -377,7 +376,6 @@ pub fn canonicalize_pattern<'a>(
|
|||
use PatternType::*;
|
||||
|
||||
let can_pattern = match pattern {
|
||||
// TODO do we need to use suffixed here?
|
||||
Identifier {
|
||||
ident: name,
|
||||
suffixed: _,
|
||||
|
@ -634,7 +632,6 @@ pub fn canonicalize_pattern<'a>(
|
|||
|
||||
for loc_pattern in patterns.iter() {
|
||||
match loc_pattern.value {
|
||||
// TODO should we use suffixed here?
|
||||
Identifier {
|
||||
ident: label,
|
||||
suffixed: _,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue