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.
25 lines
569 B
Text
25 lines
569 B
Text
structure Foo where
|
|
f₁ : Nat
|
|
|
|
def Foo.f₂ (f : Foo) : Nat :=
|
|
f.f₁
|
|
|
|
def Foo.foo : Foo := ⟨10⟩
|
|
|
|
#check Foo.foo.f₁.succ
|
|
--^ textDocument/hover
|
|
|
|
open Foo
|
|
#check foo.f₁.succ
|
|
--^ textDocument/hover
|
|
--^ textDocument/hover
|
|
--^ textDocument/hover
|
|
#check foo.f₂.succ
|
|
--^ textDocument/hover
|
|
--^ textDocument/hover
|
|
#check (foo).f₂.succ
|
|
--^ textDocument/hover
|
|
--^ textDocument/hover
|
|
#check foo |>.f₂.succ
|
|
--^ textDocument/hover
|
|
--^ textDocument/hover
|