dotnet / dotnet/fsharp

Improve error message in pattern matching when we forget to match the payload

オープン
#4,246 コメント 2 件 リアクション 7 件 担当者 1 名 @edgarfgp が担当を希望しています GitHub で見る
Area-Diagnostics Feature Improvement Theme-Simple-F#
主要言語
F#
スター
4.3k
フォーク
876
平均マージ
4日 8時間
マージ済み PR(30日)
133

説明

type Msg =
| ShowImage of int

let update model (msg:Msg) =
match msg with
| ShowImage ->
model

![image](https://user-images.githubusercontent.com/57396/35276256-164039ca-0043-11e8-8f95-beaa4f99ecda.png)

this is not helpful for newcomers. We should somehow explain that the pattern needs a payload placeholder.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。