Skip to content

Confusing use of ticks in FS0064 warning. #18810

@majocha

Description

@majocha

See the real life situation here #18808

One type argument is 'TRequest, the other 'TRequest'

The first impression is that the warning message adds it's own ticks without rhyme or reason:

This construct causes code to be less generic than indicated by the type annotations. The type variable 'TRequest' has been constrained to be type ''TRequest'

It's also not correct in the sense that the second part is not actual type but a type variable.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions