Open bryangingechen opened 4 years ago
It could either be an extra argument to the environment.add_decl function, or a free function set_decl_pos, depending on the constraints in the C++.
environment.add_decl
set_decl_pos
From https://github.com/leanprover-community/mathlib/issues/4778
A more magic solution might be to set module::scope_pos_info in more places.
module::scope_pos_info
From https://github.com/leanprover-community/mathlib/issues/4778