Skip to content

Spurious casual type parameters on a method #18760

@charlesroddie

Description

@charlesroddie
type Class =
    static member ProcessIEQ<'a when 'a:>IEquatable<'a>>(expected: 'a) = ()
Class.ProcessIEQ(0)

Hovering over ProcessIEQ in the last line gives:

Image
  • The formal generic argument 'a has been removed.
  • Two casual type parameters 'a and '0 (sorry I don't know the terminology for these - things that don't come directly after the method name as inputs) have been created in its place.

VS 17.14.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Compiler-SigFileGengeneration of signature files - both compiler and IDEBugTheme-Simple-F#A cross-community initiative called "Simple F#", keeping people in the sweet spot of the language.

    Type

    Projects

    Status

    New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions