mirror of
https://github.com/leanprover/lean4.git
synced 2026-03-17 18:34:06 +00:00
This PR migrates most remaining tests to the new test suite. It also completes the migration of directories like `tests/lean/run`, meaning that PRs trying to add tests to those old directories will now fail.
36 lines
736 B
Lean4
36 lines
736 B
Lean4
prelude
|
|
|
|
/-! Completing declaration names in arbitrary namespaces -/
|
|
|
|
axiom Lean.Elab.Term.elabTermEnsuringType : Type
|
|
axiom Lean.Elab.Tactic.elabTermEnsuringType : Type
|
|
|
|
-- adding full namespace
|
|
|
|
#check elabTermEnsuring
|
|
--^ completion
|
|
|
|
-- adding partial namespace
|
|
|
|
open Lean.Elab in
|
|
#check elabTermEnsuring
|
|
--^ completion
|
|
|
|
-- direct + indirect match
|
|
|
|
open Lean.Elab.Term in
|
|
#check elabTermEnsuring
|
|
--^ completion
|
|
|
|
-- same, on the top level
|
|
|
|
axiom elabTermEnsuringType : Type
|
|
#check elabTermEnsuring
|
|
--^ completion
|
|
|
|
-- prioritize smaller prefixes
|
|
|
|
axiom Lean.Elab.elabTermEnsuringType : Type
|
|
#check elabTermEnsuring
|
|
--^ completion
|