fix(library/user_recursors): 'print recursor-lemma' command

This commit is contained in:
Leonardo de Moura 2016-01-01 18:12:12 -08:00
parent 0963ce336f
commit 3c564fcc55

View file

@ -354,7 +354,7 @@ void initialize_user_recursors() {
is_user_defined_recursor,
[](environment const & env, name const & d) {
auto info = get_recursor_info(env, d);
return info.get_major_pos();
return info.get_major_pos()+1; // internally major pos is 0-based
});
}