fix(frontends/lean/decl_cmds): do not save 'examples' in .ilean file
This commit is contained in:
parent
7afa69577e
commit
922e66c42f
1 changed files with 1 additions and 1 deletions
|
@ -486,7 +486,7 @@ static environment definition_cmd_core(parser & p, def_cmd_kind kind, bool is_op
|
|||
env = module::add(env, check(env, mk_definition(env, real_n, new_ls, type, value, is_opaque)));
|
||||
p.cache_definition(real_n, pre_type, pre_value, new_ls, type, value);
|
||||
}
|
||||
if (!is_private)
|
||||
if (!is_private && kind != Example)
|
||||
p.add_decl_index(real_n, n_pos, p.get_cmd_token(), type);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue