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
|
@ -845,14 +845,14 @@ fn pretty_runtime_error<'b>(
|
|||
Unknown => " ",
|
||||
QualifiedIdentifier => " qualified ",
|
||||
EmptySingleQuote => " empty character literal ",
|
||||
MulitpleCharsInSingleQuote => " overfull literal ",
|
||||
MultipleCharsInSingleQuote => " overfull literal ",
|
||||
};
|
||||
|
||||
let tip = match problem {
|
||||
MalformedInt | MalformedFloat | MalformedBase(_) => alloc
|
||||
.tip()
|
||||
.append(alloc.reflow("Learn more about number literals at TODO")),
|
||||
EmptySingleQuote | MulitpleCharsInSingleQuote | Unknown | BadIdent(_) => {
|
||||
EmptySingleQuote | MultipleCharsInSingleQuote | Unknown | BadIdent(_) => {
|
||||
alloc.nil()
|
||||
}
|
||||
QualifiedIdentifier => alloc.tip().append(
|
||||
|
@ -1160,7 +1160,7 @@ fn pretty_runtime_error<'b>(
|
|||
|
||||
title = SYNTAX_PROBLEM;
|
||||
}
|
||||
RuntimeError::MulitpleCharsInSingleQuote(region) => {
|
||||
RuntimeError::MultipleCharsInSingleQuote(region) => {
|
||||
let tip = alloc
|
||||
.tip()
|
||||
.append(alloc.reflow("Learn more about character literals at TODO"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue