dotnet / dotnet/fsharp

Inconsistent type formatting in type mismatch error message

Open
#6,152 0 comments 0 reactions 0 assignees View on GitHub
Area-Diagnostics Feature Improvement
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 22h
Merged PRs (30d)
144

Description

Here the expected type is formatted with the C#-style `Option`, but the actual type is formatted with OCaml-style `option int`, which makes reading such errors harder than it should be:

![image](https://user-images.githubusercontent.com/873919/51829044-deb53a80-22fd-11e9-8450-4fdb334ba599.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.