mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
cleanup
This commit is contained in:
parent
b8ec53738a
commit
5ae188c08f
3 changed files with 19 additions and 84 deletions
|
@ -1000,8 +1000,6 @@ pub enum Pattern<'a> {
|
|||
MalformedIdent(&'a str, crate::ident::BadIdent),
|
||||
}
|
||||
|
||||
// pub fn contains_bang_suffixed
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
|
||||
pub enum Base {
|
||||
Octal,
|
||||
|
@ -1511,14 +1509,7 @@ macro_rules! impl_extract_spaces {
|
|||
match self {
|
||||
$t::SpaceBefore(item, before) => {
|
||||
match item {
|
||||
$t::SpaceBefore(_, _) => {
|
||||
// TODO this probably isn't right, but was causing a panic with just todo!()
|
||||
Spaces {
|
||||
before,
|
||||
item: **item,
|
||||
after: &[],
|
||||
}
|
||||
},
|
||||
$t::SpaceBefore(_, _) => todo!(),
|
||||
$t::SpaceAfter(item, after) => {
|
||||
Spaces {
|
||||
before,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue