Improve error message in pattern matching when we forget to match the payload
Abierto
Area-Diagnostics
Feature Improvement
Theme-Simple-F#
- Lenguaje dominante
- F#
- Estrellas
- 4.3k
- Forks
- 876
- Merge medio
- 4 d 8 h
- PR fusionados (30 d)
- 133
Descripción
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.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.