Improve error message in pattern matching when we forget to match the payload
Aperta
Area-Diagnostics
Feature Improvement
Theme-Simple-F#
- Lingua principale
- F#
- Stelle
- 4.3k
- Fork
- 876
- Merge medio
- 4g 22h
- PR unite (30g)
- 144
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.