Skip to content

Inferred type instantiation on hover #368

@Kamirus

Description

@Kamirus

Hover over on the size function shows the following type

var list = List.empty<Nat>();
List.size(list);
//   ^^^^ <T>(list : List<T>) -> Nat

Ideally, it should show the inferred type instantiation so that we know that the compiler inferred T to be Nat

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