Skip to content

Quick action to explicitly annotate a let binding parameter #10421

@cartermp

Description

@cartermp

Given code like this:

let myFunc x = x.ToString()

There should be a quick action available to convert it to this:

let myFunc (x: 'a) : string = x.ToString()

This would require some work to get the inferred types of the let-bound value(s) and each parameter if it's a function, and their ranges.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions