lean
lean copied to clipboard
API to set decl_pos
It could either be an extra argument to the
environment.add_declfunction, or a free functionset_decl_pos, depending on the constraints in the C++.
From https://github.com/leanprover-community/mathlib/issues/4778
A more magic solution might be to set module::scope_pos_info in more places.