Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix typo
  • Loading branch information
forki committed May 15, 2019
commit 75a8ede3026adce9099a34d6afa9e10322075d50
2 changes: 1 addition & 1 deletion src/fsharp/PatternMatchCompilation.fs
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ let rec BuildSwitch inpExprOpt g expr edges dflt m =

// All these should also always have default cases
| (TCase(DecisionTreeTest.Const ConstNeedsDefaultCase, _) :: _), None ->
error(InternalError("inexhaustive match - need a default cases!", m))
error(InternalError("inexhaustive match - need a default case!", m))

// Split string, float, uint64, int64, unativeint, nativeint matches into serial equality tests
| TCase((DecisionTreeTest.ArrayLength _ | DecisionTreeTest.Const (Const.Single _ | Const.Double _ | Const.String _ | Const.Decimal _ | Const.Int64 _ | Const.UInt64 _ | Const.IntPtr _ | Const.UIntPtr _)), _) :: _, Some dflt ->
Expand Down