mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
improved malformed patterns
This commit is contained in:
parent
2ae993d695
commit
a87dfac7da
10 changed files with 316 additions and 126 deletions
|
@ -1028,6 +1028,9 @@ fn annotation_or_alias<'a>(
|
|||
Malformed(_) => {
|
||||
Def::NotYetImplemented("TODO translate a malformed pattern into a malformed annotation")
|
||||
}
|
||||
MalformedIdent(_, _) => {
|
||||
Def::NotYetImplemented("TODO translate a malformed pattern into a malformed annotation")
|
||||
}
|
||||
Identifier(ident) => {
|
||||
// This is a regular Annotation
|
||||
Def::Annotation(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue