feat(frontends/lean/migrate_cmd): ignore derived transitive instances in the migrate command

This commit is contained in:
Leonardo de Moura 2015-06-30 14:00:41 -07:00
parent d20f831602
commit 9a9e975bc8

View file

@ -172,6 +172,11 @@ struct migrate_cmd_fn {
out() << "skipped '" << d.get_name() << "': coercions are ignored\n";
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;
name short_name, full_name;