fix(library/class_instance_resolution): signature has changed

This commit is contained in:
Leonardo de Moura 2015-12-09 07:14:39 -08:00
parent c6fc18a8d1
commit a3346e997b

View file

@ -181,9 +181,9 @@ pair<expr, constraint> mk_new_class_instance_elaborator(
optional<expr> mk_class_instance(environment const & env, io_state const & ios, local_context const & ctx, expr const & type, bool use_local_instances) {
if (use_local_instances)
return mk_class_instance(env, ios, ctx.get_data(), type, nullptr);
return mk_class_instance(env, ios.get_options(), ctx.get_data(), type, nullptr);
else
return mk_class_instance(env, ios, list<expr>(), type, nullptr);
return mk_class_instance(env, ios.get_options(), list<expr>(), type, nullptr);
}
optional<expr> mk_class_instance(environment const & env, local_context const & ctx, expr const & type) {