Commits

Alex Hoppen committed a97585cbddd
[Sema] Fix compiler crash when pattern matching optional enum TypeCheckPattern was able to take the path checking if `Optional.None` should be renamed to lowercase `Optional.none` and if this wasn't necessary still failed but without generating a diagnostic. Now it always provides a diagnostic when failing. This fixes SR-2057.