Wildcard cases with guards seem to crash the compiler in certain cases
As seen in the following snippet:
match exhaust.state {
case Schedule if is_night.false? -> {
}
case _ if is_night -> {
}
case _ -> {}
}
Removing the guarded case _
prevents the crash. Probably we're not adding guards to the pattern match compiler when they are conditional.