mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
Canonicalize unicode code point escapes
This commit is contained in:
parent
7682e09b0a
commit
2e15443c8c
4 changed files with 125 additions and 61 deletions
|
@ -56,6 +56,8 @@ pub enum Problem {
|
|||
region: Region,
|
||||
},
|
||||
InvalidInterpolation(Region),
|
||||
InvalidHexadecimal(Region),
|
||||
InvalidUnicodeCodePoint(Region),
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
|
@ -127,6 +129,8 @@ pub enum RuntimeError {
|
|||
NonExhaustivePattern,
|
||||
|
||||
InvalidInterpolation(Region),
|
||||
InvalidHexadecimal(Region),
|
||||
InvalidUnicodeCodePoint(Region),
|
||||
|
||||
/// When the author specifies a type annotation but no implementation
|
||||
NoImplementation,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue