lean4-htt/tests/server_interactive/incomingCallHierarchyWhere.lean
Garmelon a3cb39eac9
chore: migrate more tests to new test suite (#12809)
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.
2026-03-06 16:52:01 +00:00

17 lines
298 B
Text

--^ waitForILeans
module
-- Regression test for a bug where the module system broke the call hierarchy when tracking it
-- through a `where` in a `public def` of a `module`.
public section
def f := 0
--^ incomingCallHierarchy
def foo : Nat :=
bar
where
bar : Nat := f
def foobar := foo