mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
milestone: change pattern messages over
This commit is contained in:
parent
e27be136cb
commit
5f4f7f009c
4 changed files with 323 additions and 221 deletions
|
@ -372,7 +372,6 @@ pub type Col = u16;
|
|||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub enum EPattern<'a> {
|
||||
Record(PRecord<'a>, Row, Col),
|
||||
Apply(PApply<'a>, Row, Col),
|
||||
Underscore(Row, Col),
|
||||
|
||||
Start(Row, Col),
|
||||
|
@ -421,21 +420,6 @@ pub enum PInParens<'a> {
|
|||
IndentEnd(Row, Col),
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub enum PApply<'a> {
|
||||
///
|
||||
StartNotUppercase(Row, Col),
|
||||
End(Row, Col),
|
||||
Space(BadInputError, Row, Col),
|
||||
IndentStart(Row, Col),
|
||||
///
|
||||
Pattern(&'a EPattern<'a>, Row, Col),
|
||||
///
|
||||
DoubleDot(Row, Col),
|
||||
TrailingDot(Row, Col),
|
||||
StartIsNumber(Row, Col),
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub enum Type<'a> {
|
||||
TRecord(TRecord<'a>, Row, Col),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue