report malformed type names in annotations

This commit is contained in:
Folkert 2021-03-21 22:52:23 +01:00
parent 22f77ed966
commit b681923270
4 changed files with 129 additions and 50 deletions

View file

@ -134,6 +134,7 @@ pub enum RuntimeError {
},
InvalidPrecedence(PrecedenceProblem, Region),
MalformedIdentifier(Box<str>, roc_parse::ident::BadIdent, Region),
MalformedTypeName(Box<str>, Region),
MalformedClosure(Region),
InvalidRecordUpdate {
region: Region,