milestone: change pattern messages over

This commit is contained in:
Folkert 2021-02-20 15:34:32 +01:00
parent e27be136cb
commit 5f4f7f009c
4 changed files with 323 additions and 221 deletions

View file

@ -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),