Due to the flaky test failure at https://github.com/leanprover/lean4/actions/runs/18241144163/job/51943212141
31 lines
885 B
Text
31 lines
885 B
Text
--^ waitForILeans
|
|
#check Lean.Server.Test.Refs.test1
|
|
--^ codeAction
|
|
|
|
example : LeanServerTestRefsTest0
|
|
--^ codeAction
|
|
|
|
#check Lean.Server.Test.Refs.test
|
|
--^ codeAction
|
|
|
|
structure Foobar where
|
|
veryLongAndHopefullyVeryUniqueBar0 : Nat
|
|
|
|
namespace Foobar
|
|
|
|
def veryLongAndHopefullyVeryUniqueFoo0 := 0
|
|
|
|
def veryLongAndHopefullyVeryUniqueFoobar0 : Foobar := { veryLongAndHopefullyVeryUniqueBar0 := 0 }
|
|
|
|
end Foobar
|
|
|
|
open Foobar
|
|
|
|
#check veryLongAndHopefullyVeryUniqueFoo
|
|
--^ codeAction
|
|
|
|
example (f : Foobar) : Nat := f.veryLongAndHopefullyVeryUniqueBar
|
|
--^ codeAction
|
|
|
|
example : Foobar := .veryLongAndHopefullyVeryUniqueFoobar
|
|
--^ codeAction
|