Remove private tags from idents

This commit is contained in:
Ayaz Hafiz 2022-04-25 11:13:30 -04:00
parent 7ea4d7171b
commit 67eb4b9faa
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
11 changed files with 11 additions and 185 deletions

View file

@ -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 {