Improve error message in pattern matching when we forget to match the payload
Đang mở
Area-Diagnostics
Feature Improvement
Theme-Simple-F#
- Ngôn ngữ chính
- F#
- Star
- 4.3k
- Fork
- 876
- Merge trung bình
- 5 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 153
Mô tả
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.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.