docs/features/patterns.work.md
Give an error when a wildcard is used but something named _ is in scope.
Implement the switch statement in the presence of recursive patterns
Implement the match expression
It is an error if the name var binds to a type in a var pattern. Implement and test.
We need a test plan for these additions. Here is a high-level list of some tests that are needed
Need to ensure good code quality, e.g. avoid redundant null checks preceding types tests
Need to ensure a good tradeoff between decision tree size explosion and execution of redundant tests.