Skip to content

[spec] Disagreement between the textual description and the formule rule for br_on_non_null's validation #1938

@4y8

Description

@4y8

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions