mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
Merge pull request #1591 from rtfeldman/single-quote-literal
Single Quote literal
This commit is contained in:
commit
d3acf34415
26 changed files with 404 additions and 18 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue