Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
Buttons840
6y ago
0 comments
Save
Share
Can't you just do that with a catch all pattern match?
0 comments
1 comments · 1 top-level
top
newest
oldest
jeremyjh
6y ago
It’s only relevant if you have a catch-all match. The idea is to get a compiler warning when new patterns become available instead of a runtime warning.
j
/
k
navigate · click thread line to collapse