fix(inductive_compiler): generate has_sizeof for structures

This commit is contained in:
Daniel Selsam 2016-10-04 19:50:28 -07:00 committed by Leonardo de Moura
parent 1e325c11a1
commit 03ed74fea1

View file

@ -35,7 +35,7 @@ environment add_structure_declaration_aux(environment const & env, options const
environment new_env = env;
if (mlocal_name(ind) != get_has_sizeof_name())
mk_has_sizeof(env, mlocal_name(ind));
new_env = mk_has_sizeof(new_env, mlocal_name(ind));
return register_ginductive_decl(new_env, decl, ginductive_kind::BASIC);
}