Skip to content

[Merged by Bors] - fix(Tactic/ToFun): correct location of hovers#39911

Closed
grunweg wants to merge 2 commits into
leanprover-community:masterfrom
grunweg:tofun-fixhovers
Closed

[Merged by Bors] - fix(Tactic/ToFun): correct location of hovers#39911
grunweg wants to merge 2 commits into
leanprover-community:masterfrom
grunweg:tofun-fixhovers

Conversation

@grunweg

@grunweg grunweg commented May 27, 2026

Copy link
Copy Markdown
Contributor

When an explicit name for the new declaration is given, make hovering over the to_fun keyword show the keyword's documentation, and hovering over the new declaration show the declaration's name.
Right now, it is the opposite way around.


Open in Gitpod

@grunweg grunweg added easy < 20s of review time. See the lifecycle page for guidelines. t-meta Tactics, attributes or user commands labels May 27, 2026
@github-actions

github-actions Bot commented May 27, 2026

Copy link
Copy Markdown

PR summary 86fd8e4461

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.


No changes to strong technical debt.
No changes to weak technical debt.

@mathlib-dependent-issues mathlib-dependent-issues Bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label May 27, 2026
Comment thread Mathlib/Tactic/ToFun.lean Outdated
When an explicit name for the new declaration is given, ensure to make
hovering over the to_fun keyword show the keyword's documentation,
and hovering over the new declaration show the declaration's name.
Right now, it is the opposite way around.
@grunweg
grunweg force-pushed the tofun-fixhovers branch from 5edebcb to 00cbee7 Compare May 28, 2026 09:41
Co-authored-by: Thomas R. Murrills <68410468+thorimur@users.noreply.github.com>
@grunweg grunweg removed blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) easy < 20s of review time. See the lifecycle page for guidelines. labels May 28, 2026
@mathlib-dependent-issues

Copy link
Copy Markdown

@thorimur

Copy link
Copy Markdown
Contributor

Thanks! :)

maintainer merge

@github-actions

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by thorimur.

@mathlib-triage mathlib-triage Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label May 28, 2026
@adomani

adomani commented May 29, 2026

Copy link
Copy Markdown
Contributor

Thanks!

bors merge

@mathlib-triage mathlib-triage Bot added ready-to-merge This PR has been sent to bors. and removed maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. labels May 29, 2026
mathlib-bors Bot pushed a commit that referenced this pull request May 29, 2026
When an explicit name for the new declaration is given, make hovering over the `to_fun` keyword show the keyword's documentation, and hovering over the new declaration show the declaration's name.
Right now, it is the opposite way around.
@mathlib-bors

mathlib-bors Bot commented May 29, 2026

Copy link
Copy Markdown
Contributor

Build failed (retrying...):

mathlib-bors Bot pushed a commit that referenced this pull request May 29, 2026
When an explicit name for the new declaration is given, make hovering over the `to_fun` keyword show the keyword's documentation, and hovering over the new declaration show the declaration's name.
Right now, it is the opposite way around.
@mathlib-bors

mathlib-bors Bot commented May 29, 2026

Copy link
Copy Markdown
Contributor

Build failed (retrying...):

mathlib-bors Bot pushed a commit that referenced this pull request May 29, 2026
When an explicit name for the new declaration is given, make hovering over the `to_fun` keyword show the keyword's documentation, and hovering over the new declaration show the declaration's name.
Right now, it is the opposite way around.
@mathlib-bors

mathlib-bors Bot commented May 29, 2026

Copy link
Copy Markdown
Contributor

Build failed (retrying...):

mathlib-bors Bot pushed a commit that referenced this pull request May 29, 2026
When an explicit name for the new declaration is given, make hovering over the `to_fun` keyword show the keyword's documentation, and hovering over the new declaration show the declaration's name.
Right now, it is the opposite way around.
@mathlib-bors

mathlib-bors Bot commented May 29, 2026

Copy link
Copy Markdown
Contributor

Build failed (retrying...):

mathlib-bors Bot pushed a commit that referenced this pull request May 29, 2026
When an explicit name for the new declaration is given, make hovering over the `to_fun` keyword show the keyword's documentation, and hovering over the new declaration show the declaration's name.
Right now, it is the opposite way around.
@mathlib-bors

mathlib-bors Bot commented May 29, 2026

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title fix(Tactic/ToFun): correct location of hovers [Merged by Bors] - fix(Tactic/ToFun): correct location of hovers May 29, 2026
@mathlib-bors mathlib-bors Bot closed this May 29, 2026
grunweg added a commit to grunweg/mathlib4 that referenced this pull request May 30, 2026
…9911)

When an explicit name for the new declaration is given, make hovering over the `to_fun` keyword show the keyword's documentation, and hovering over the new declaration show the declaration's name.
Right now, it is the opposite way around.
b-mehta pushed a commit to b-mehta/mathlib4 that referenced this pull request Jun 2, 2026
…9911)

When an explicit name for the new declaration is given, make hovering over the `to_fun` keyword show the keyword's documentation, and hovering over the new declaration show the declaration's name.
Right now, it is the opposite way around.
Bergschaf pushed a commit to Bergschaf/mathlib4 that referenced this pull request Jun 3, 2026
…9911)

When an explicit name for the new declaration is given, make hovering over the `to_fun` keyword show the keyword's documentation, and hovering over the new declaration show the declaration's name.
Right now, it is the opposite way around.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors. t-meta Tactics, attributes or user commands

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants