Drop support for parsing type aliases with parens and braces

This commit is contained in:
Zanie 2023-07-17 09:42:13 -05:00
parent fcdd605f74
commit b2d67c70f3

View file

@ -113,8 +113,8 @@ where
is_type_alias = true;
break;
}
Tok::Lpar | Tok::Lsqb | Tok::Lbrace => nesting += 1,
Tok::Rpar | Tok::Rsqb | Tok::Rbrace => nesting -= 1,
Tok::Lsqb => nesting += 1,
Tok::Rsqb => nesting -= 1,
_ => {}
}
}