The validation rule for br_on_non_null
states in the textual format that the last type of the result type corresponding to the given label should be ref null? ht
. However, in the formal rule, it can't be null and is forced to be ref ht
.
None of the test I saw used it with a label of type ref null? ht
(it would be useless actually).
The reference validator seems to accept ref null ht
, as the test done is a matching and ref ht <= ref null ht
.
I can do a PR where the formal rule is modified if that can help.