Improve error message in pattern matching when we forget to match the payload
Open
Area-Diagnostics
Feature Improvement
Theme-Simple-F#
- Dominant language
- F#
- Stars
- 4.3k
- Forks
- 876
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 131
Description
type Msg =
| ShowImage of int
let update model (msg:Msg) =
match msg with
| ShowImage ->
model

this is not helpful for newcomers. We should somehow explain that the pattern needs a payload placeholder.
Contributor guide
Assessment
This issue has not been assessed yet.