mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
chore: replace panic! with internal_error
This commit is contained in:
parent
f6221fb9e9
commit
8bf888a5e6
8 changed files with 27 additions and 17 deletions
|
@ -1,6 +1,7 @@
|
|||
// use bumpalo::collections::string::String;
|
||||
// use bumpalo::collections::vec::Vec;
|
||||
use bumpalo::Bump;
|
||||
use roc_error_macros::internal_error;
|
||||
use roc_parse::ast::Expr;
|
||||
// use roc_parse::ast::{Attempting, Expr};
|
||||
// use roc_parse::ident;
|
||||
|
@ -12,7 +13,7 @@ use roc_region::all::Region;
|
|||
// use std::iter::Peekable;
|
||||
|
||||
pub fn canonical_string_literal<'a>(_arena: &Bump, _raw: &'a str, _region: Region) -> Expr<'a> {
|
||||
panic!("TODO restore canonicalization");
|
||||
internal_error!("TODO restore canonicalization");
|
||||
}
|
||||
// let mut problems = std::vec::Vec::new();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue