feat(frontends/lean/migrate_cmd): ignore derived transitive instances in the migrate command
This commit is contained in:
parent
d20f831602
commit
9a9e975bc8
1 changed files with 5 additions and 0 deletions
|
@ -172,6 +172,11 @@ struct migrate_cmd_fn {
|
||||||
out() << "skipped '" << d.get_name() << "': coercions are ignored\n";
|
out() << "skipped '" << d.get_name() << "': coercions are ignored\n";
|
||||||
return; // we don't migrate coercions
|
return; // we don't migrate coercions
|
||||||
}
|
}
|
||||||
|
if (is_derived_trans_instance(m_env, d_name)) {
|
||||||
|
if (m_trace)
|
||||||
|
out() << "skipped '" << d.get_name() << "': derived transitive instances are ignored\n";
|
||||||
|
return; // we don't migrate coercions
|
||||||
|
}
|
||||||
|
|
||||||
bool renamed = false;
|
bool renamed = false;
|
||||||
name short_name, full_name;
|
name short_name, full_name;
|
||||||
|
|
Loading…
Reference in a new issue