dotnet / dotnet/fsharp

match expressions missing inside task ce confusing error

Open
#15,748 2 comments 0 reactions 1 assignee Claimed by @edgarfgp View on GitHub
Area-Diagnostics Feature Improvement
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 11h
Merged PRs (30d)
131

Description

is this related to the same? this is annoying with match expressions inside task ce...
image

in my case the reason was just the missing `_` in:
`| _ -> `
for all cases, so I think the error is misleading, should suggest missing match case instead.

i didn't see it right away because the compiler error was not useful...

_Originally posted by @jkone27 in https://github.com/dotnet/fsharp/issues/4653#issuecomment-1662393389_

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.