mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-01 05:24:15 +00:00
Remove stray dbgs
This commit is contained in:
parent
60601dada2
commit
b8328c2b5b
2 changed files with 1 additions and 46 deletions
|
|
@ -3063,13 +3063,6 @@ fn specialize_external<'a>(
|
|||
}
|
||||
};
|
||||
|
||||
dbg!((
|
||||
lambda_name.name(),
|
||||
roc_types::subs::SubsFmtContent(
|
||||
env.subs.get_content_without_compacting(body_var),
|
||||
env.subs
|
||||
)
|
||||
));
|
||||
let mut specialized_body = from_can(env, body_var, body, procs, layout_cache);
|
||||
|
||||
match specialized {
|
||||
|
|
@ -5231,13 +5224,6 @@ fn late_resolve_ability_specialization<'a>(
|
|||
env.subs[spec_symbol_index]
|
||||
} else {
|
||||
// Otherwise, resolve by checking the able var.
|
||||
dbg!((
|
||||
member,
|
||||
roc_types::subs::SubsFmtContent(
|
||||
env.subs.get_content_without_compacting(specialization_var),
|
||||
env.subs
|
||||
)
|
||||
));
|
||||
let specialization = resolve_ability_specialization(
|
||||
env.home,
|
||||
env.subs,
|
||||
|
|
@ -5246,19 +5232,6 @@ fn late_resolve_ability_specialization<'a>(
|
|||
specialization_var,
|
||||
)
|
||||
.expect("Ability specialization is unknown - code generation cannot proceed!");
|
||||
// let specialization = env
|
||||
// .abilities
|
||||
// .with_module_abilities_store(env.home, |store| {
|
||||
// dbg!((
|
||||
// member,
|
||||
// roc_types::subs::SubsFmtContent(
|
||||
// env.subs.get_content_without_compacting(specialization_var),
|
||||
// env.subs
|
||||
// )
|
||||
// ));
|
||||
// resolve_ability_specialization(env.subs, store, member, specialization_var)
|
||||
// .expect("Ability specialization is unknown - code generation cannot proceed!")
|
||||
// });
|
||||
|
||||
match specialization {
|
||||
Resolved::Specialization(symbol) => symbol,
|
||||
|
|
@ -8815,13 +8788,6 @@ fn from_can_pattern_help<'a>(
|
|||
..
|
||||
} => {
|
||||
// sorted fields based on the type
|
||||
dbg!(
|
||||
env.home,
|
||||
roc_types::subs::SubsFmtContent(
|
||||
env.subs.get_content_without_compacting(*whole_var),
|
||||
env.subs
|
||||
)
|
||||
);
|
||||
let sorted_fields =
|
||||
crate::layout::sort_record_fields(env.arena, *whole_var, env.subs, env.target_info)
|
||||
.map_err(RuntimeError::from)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue