Description
The idea is to ensure, in compile-time, that Match/Switch children are a subset of the supported matching expressions (e.g. With, When and Otherwise).
I have done research on this and it doesn't seem to be feasible as of now so it's likely that we'll stick with runtime checking.
Resources
Description
The idea is to ensure, in compile-time, that
Match/Switchchildren are a subset of the supported matching expressions (e.g.With,WhenandOtherwise).I have done research on this and it doesn't seem to be feasible as of now so it's likely that we'll stick with runtime checking.
Resources