s/CodePoint/CodePt/g

This commit is contained in:
Richard Feldman 2021-08-07 15:18:51 -04:00
parent 69b1497907
commit 267836226c
25 changed files with 69 additions and 69 deletions

View file

@ -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

View file

@ -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);