Skip to content

Commit

Permalink
Fix null subtyping being wrong way around (WebAssembly#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamesernator authored Sep 12, 2022
1 parent 5acd684 commit cb16e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion document/core/valid/matching.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ A :ref:`reference type <syntax-reftype>` :math:`\REF~\NULL_1^?~heaptype_1` match
\frac{
C \vdashheaptypematch \heaptype_1 \matchesheaptype \heaptype_2
}{
C \vdashreftypematch \REF~\NULL~\heaptype_1 \matchesreftype \REF~\NULL^?~\heaptype_2
C \vdashreftypematch \REF~\NULL^?~\heaptype_1 \matchesreftype \REF~\NULL~\heaptype_2
}
Expand Down

0 comments on commit cb16e5a

Please sign in to comment.