mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Remove private tags from idents
This commit is contained in:
parent
7ea4d7171b
commit
67eb4b9faa
11 changed files with 11 additions and 185 deletions
|
@ -579,7 +579,6 @@ impl<'a> Pattern<'a> {
|
|||
pub fn from_ident(arena: &'a Bump, ident: Ident<'a>) -> Pattern<'a> {
|
||||
match ident {
|
||||
Ident::GlobalTag(string) => Pattern::GlobalTag(string),
|
||||
Ident::PrivateTag(string) => Pattern::PrivateTag(string),
|
||||
Ident::OpaqueRef(string) => Pattern::OpaqueRef(string),
|
||||
Ident::Access { module_name, parts } => {
|
||||
if parts.len() == 1 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue