mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Fix a spelling mistake; how was this ever passing?
This commit is contained in:
parent
2eefe9ff6d
commit
f680ee3c24
5 changed files with 8 additions and 8 deletions
|
@ -312,7 +312,7 @@ pub fn canonicalize_expr<'a>(
|
|||
(Expr::SingleQuote(char), Output::default())
|
||||
} else {
|
||||
// multiple chars is found
|
||||
let error = roc_problem::can::RuntimeError::MulitpleCharsInSingleQuote(region);
|
||||
let error = roc_problem::can::RuntimeError::MultipleCharsInSingleQuote(region);
|
||||
let answer = Expr::RuntimeError(error.clone());
|
||||
|
||||
(answer, Output::default())
|
||||
|
|
|
@ -246,7 +246,7 @@ pub fn canonicalize_pattern<'a>(
|
|||
Pattern::SingleQuote(char)
|
||||
} else {
|
||||
// multiple chars is found
|
||||
let problem = MalformedPatternProblem::MulitpleCharsInSingleQuote;
|
||||
let problem = MalformedPatternProblem::MultipleCharsInSingleQuote;
|
||||
malformed_pattern(env, problem, region)
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue