Revert "replace"

This reverts commit f43e346897.
This commit is contained in:
eiei114 2023-06-25 17:50:05 +09:00
parent f43e346897
commit c1d4a18c00
No known key found for this signature in database
GPG key ID: C740FAA53EE7B995
5 changed files with 552 additions and 654 deletions

View file

@ -93,7 +93,6 @@ pub fn get_values<'a>(
mod test {
use indoc::indoc;
use pretty_assertions::assert_eq;
use roc_error_macros::internal_error;
use roc_gen_llvm::{llvm::build::LlvmBackendMode, run_roc::RocCallResult, run_roc_dylib};
use roc_load::{ExecutionMode, LoadConfig, LoadMonomorphizedError, Threading};
use roc_packaging::cache::RocCacheDir;
@ -137,9 +136,9 @@ mod test {
) {
Ok(m) => m,
Err(LoadMonomorphizedError::ErrorModule(m)) => {
internal_error!("{:?}", (m.can_problems, m.type_problems))
panic!("{:?}", (m.can_problems, m.type_problems))
}
Err(e) => internal_error!("{e:?}"),
Err(e) => panic!("{e:?}"),
};
let mut loaded = loaded;