mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
s/CodePoint/CodePt/g
This commit is contained in:
parent
69b1497907
commit
267836226c
25 changed files with 69 additions and 69 deletions
|
@ -313,7 +313,7 @@ pub fn can_problem<'b>(
|
|||
]),
|
||||
alloc.reflow(r"Learn more about working with unicode in roc at TODO"),
|
||||
]),
|
||||
Problem::InvalidUnicodeCodePoint(region) => alloc.stack(vec![
|
||||
Problem::InvalidUnicodeCodePt(region) => alloc.stack(vec![
|
||||
alloc.reflow("This unicode code point is invalid:"),
|
||||
alloc.region(region),
|
||||
alloc.reflow("Learn more about working with unicode in roc at TODO"),
|
||||
|
@ -931,7 +931,7 @@ fn pretty_runtime_error<'b>(
|
|||
region
|
||||
);
|
||||
}
|
||||
RuntimeError::InvalidUnicodeCodePoint(region) => {
|
||||
RuntimeError::InvalidUnicodeCodePt(region) => {
|
||||
todo!(
|
||||
"TODO runtime error for an invalid \\u(...) code point at region {:?}",
|
||||
region
|
||||
|
|
|
@ -826,7 +826,7 @@ fn to_str_report<'a>(
|
|||
title: "WEIRD ESCAPE".to_string(),
|
||||
}
|
||||
}
|
||||
EString::CodePointOpen(row, col) | EString::CodePointEnd(row, col) => {
|
||||
EString::CodePtOpen(row, col) | EString::CodePtEnd(row, col) => {
|
||||
let surroundings = Region::from_rows_cols(start_row, start_col, row, col);
|
||||
let region = Region::from_row_col(row, col);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue