Skip to content
This repository was archived by the owner on Apr 2, 2025. It is now read-only.
This repository was archived by the owner on Apr 2, 2025. It is now read-only.

Hover information for definitions using parameters is misleading #275

Open
@eric-wieser

Description

@eric-wieser

Hovering over the Gᵣ in the first #check Gᵣ in this code suggests that G is an explicit argument, even though #check tells me it is implicit.

import group_theory.subgroup
import data.int.cast

section

parameters {G : Type*} [ring G]

parameters (G)

def Gᵣ (r : ℤ) : add_subgroup G := add_subgroup.closure {r}



#check Gᵣ  -- Gᵣ : ℤ → add_subgroup G

end

#check Gᵣ -- Gᵣ : Π (G : Type u_1) [_inst_1 : ring G], ℤ → add_subgroup G

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions