mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
add suffixed to Identifer and QualifiedIdentifier
This commit is contained in:
parent
0a3b9c34b3
commit
3c3e523b45
115 changed files with 1587 additions and 1085 deletions
|
@ -73,7 +73,8 @@ impl ReplState {
|
|||
match value_def {
|
||||
ValueDef::Annotation(
|
||||
Loc {
|
||||
value: Pattern::Identifier(ident),
|
||||
// TODO is this right for suffixed
|
||||
value: Pattern::Identifier { ident, suffixed: _ },
|
||||
..
|
||||
},
|
||||
_,
|
||||
|
@ -87,7 +88,8 @@ impl ReplState {
|
|||
}
|
||||
ValueDef::Body(
|
||||
Loc {
|
||||
value: Pattern::Identifier(ident),
|
||||
// TODO is this right for suffixed
|
||||
value: Pattern::Identifier { ident, suffixed: _ },
|
||||
..
|
||||
},
|
||||
_,
|
||||
|
@ -95,7 +97,8 @@ impl ReplState {
|
|||
| ValueDef::AnnotatedBody {
|
||||
body_pattern:
|
||||
Loc {
|
||||
value: Pattern::Identifier(ident),
|
||||
// TODO is this right for suffixed
|
||||
value: Pattern::Identifier { ident, suffixed: _ },
|
||||
..
|
||||
},
|
||||
..
|
||||
|
@ -131,6 +134,7 @@ impl ReplState {
|
|||
ValueDef::ExpectFx { .. } => {
|
||||
todo!("handle receiving an `expect-fx` - what should the repl do for that?")
|
||||
}
|
||||
ValueDef::Stmt(_) => todo!(),
|
||||
}
|
||||
}
|
||||
ParseOutcome::TypeDef(TypeDef::Alias {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue