Merge remote-tracking branch 'origin/trunk' into bindgen-multi-tag-unions

This commit is contained in:
Richard Feldman 2022-05-11 10:52:52 -04:00
commit a380afd4dc
No known key found for this signature in database
GPG Key ID: 7E4127D1E4241798

View File

@ -629,6 +629,7 @@ fn deep_copy_type_vars<'a>(
mod test {
use super::deep_copy_type_vars;
use bumpalo::Bump;
use roc_error_macros::internal_error;
use roc_module::symbol::Symbol;
use roc_types::subs::{
Content, Content::*, Descriptor, Mark, OptVariable, Rank, Subs, SubsIndex, Variable,
@ -732,7 +733,7 @@ mod test {
RigidAbleVar(name, Symbol::UNDERSCORE) => {
assert_eq!(subs[*name].as_str(), "a");
}
it => unreachable!("{:?}", it),
it => internal_error!("{:?}", it),
}
}
}