Improve error message in pattern matching when we forget to match the payload
Ouverte
Area-Diagnostics
Feature Improvement
Theme-Simple-F#
- Langage dominant
- F#
- Étoiles
- 4.3k
- Forks
- 876
- Merge moyen
- 5 j 9 h
- PR mergées (30 j)
- 153
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.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.