Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce proper type for TypeVar's, mark anything not a lowercase ident as malformed #7511

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

joshuawarner32
Copy link
Collaborator

No description provided.

Comment on lines 1410 to 1429
// fn pattern_prec(pat: Pattern<'_>) -> Prec {
// match pat {
// Pattern::Identifier { .. }
// | Pattern::QualifiedIdentifier { .. }
// | Pattern::Tag(_)
// | Pattern::OpaqueRef(_)
// | Pattern::RecordDestructure(..)
// | Pattern::RequiredField(_, _)
// | Pattern::OptionalField(_, _)
// | Pattern::NumLiteral(_)
// | Pattern::NonBase10Literal { .. }
// | Pattern::FloatLiteral(_)
// | Pattern::StrLiteral(..)
// | Pattern::Underscore(_)
// | Pattern::SingleQuote(_)
// | Pattern::Tuple(..)
// | Pattern::List(..)
// | Pattern::ListRest(_)
// | Pattern::PncApply(_, _) => Prec::Term,
// Pattern::Apply(_, _) | Pattern::As(_, _) => Prec::Apply,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this meant to be removed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, whoops. Will fix.

@joshuawarner32 joshuawarner32 merged commit 28a7561 into roc-lang:main Jan 15, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants