leanprover / leanprover/lean4

outline view missing functions from mutual block

Open
#10,108 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug P-medium
Dominant language
Lean
Stars
9.2k
Forks
990
Avg merge
1d 17h
Merged PRs (30d)
175

Description

Description

In Outline view, I see a list of all functions except the ones defined in the mutual block.

Steps to Reproduce
  1. Open a Lean file with several functions defined, some of them in mutual block.
  2. Open "Outline" view via View -> Open View -> Outline

**Expected behavior:

Should see the list of all functions in outline view

**Actual behavior:

I see only functions defined outside mutual block.

Versions

0.0.209
Lean (version 4.20.0, x86_64-unknown-linux-gnu, commit b02228b03f65, Release)
Linux thruxton 6.14.0-27-generic leanprover/vscode-lean4#27~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 17:38:49 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. First reproduce the issue with a Lean file containing functions in a mutual block and open the Outline view; then trace how Outline symbols are collected. Done means every function from the mutual block appears alongside functions defined outside it.

Written by the indexing model from the issue text.

Assessment

Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.