Merge pull request #1591 from rtfeldman/single-quote-literal

Single Quote literal
This commit is contained in:
Richard Feldman 2022-02-26 23:27:46 -05:00 committed by GitHub
commit d3acf34415
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 404 additions and 18 deletions

View file

@ -230,6 +230,11 @@ pub enum RuntimeError {
VoidValue,
ExposedButNotDefined(Symbol),
/// where ''
EmptySingleQuote(Region),
/// where 'aa'
MultipleCharsInSingleQuote(Region),
}
#[derive(Clone, Copy, Debug, PartialEq)]
@ -240,4 +245,6 @@ pub enum MalformedPatternProblem {
Unknown,
QualifiedIdentifier,
BadIdent(roc_parse::ident::BadIdent),
EmptySingleQuote,
MultipleCharsInSingleQuote,
}