Skip to content

Wrong type is reported in type mismatch error #13192

@auduchinok

Description

@auduchinok
let x: int * int * int = 1, ""

Screenshot 2022-05-24 at 17 23 33

We're trying to use the type info reported in the error and in this case it works in an unexpected way.

It would be better to have an instance of FSharpType contained in the error somehow but until it's not implemented it'd be good to report the correct type.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions