mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Constrain string interpolation
This commit is contained in:
parent
5080a7e24b
commit
274e7e786d
11 changed files with 150 additions and 180 deletions
|
@ -55,6 +55,7 @@ pub enum Problem {
|
|||
alias_name: Symbol,
|
||||
region: Region,
|
||||
},
|
||||
InvalidInterpolation(Region),
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
|
@ -125,6 +126,8 @@ pub enum RuntimeError {
|
|||
|
||||
NonExhaustivePattern,
|
||||
|
||||
InvalidInterpolation(Region),
|
||||
|
||||
/// When the author specifies a type annotation but no implementation
|
||||
NoImplementation,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue