|
20 | 20 | (type $a (sub (func))) |
21 | 21 | (type $b (sub $a (struct))) ;; invalid |
22 | 22 | ) |
23 | | - "subtype must match supertype" |
| 23 | + "sub type must match super type" |
24 | 24 | ) |
25 | 25 | (assert_invalid |
26 | 26 | (module |
27 | 27 | (type $a (sub (func))) |
28 | 28 | (type $b (sub $a (func (param i32)))) ;; invalid |
29 | 29 | ) |
30 | | - "subtype must match supertype" |
| 30 | + "sub type must match super type" |
31 | 31 | ) |
32 | 32 | (assert_invalid |
33 | 33 | (module |
34 | 34 | (type $a (sub (struct (field i32)))) |
35 | 35 | (type $b (sub $a (struct (field i64)))) ;; invalid |
36 | 36 | ) |
37 | | - "subtype must match supertype" |
| 37 | + "sub type must match super type" |
38 | 38 | ) |
39 | 39 | (assert_invalid |
40 | 40 | (module |
|
45 | 45 | (type $g (sub (func (param (ref $e)) (result (ref $e))))) |
46 | 46 | (type $i (sub $g (func (param (ref $f)) (result (ref $d))))) ;; invalid |
47 | 47 | ) |
48 | | - "subtype must match supertype" |
| 48 | + "sub type must match super type" |
49 | 49 | ) |
50 | 50 | (assert_invalid |
51 | 51 | (module |
52 | 52 | (type $o (sub (array i32))) |
53 | 53 | (type (sub $o (array (mut i32)))) ;; invalid |
54 | 54 | ) |
55 | | - "subtype must match supertype" |
| 55 | + "sub type must match super type" |
56 | 56 | ) |
57 | 57 | (assert_invalid |
58 | 58 | (module |
59 | 59 | (type $o (sub (array i32))) |
60 | 60 | (type (sub $o (array i64))) ;; invalid |
61 | 61 | ) |
62 | | - "subtype must match supertype" |
| 62 | + "sub type must match super type" |
63 | 63 | ) |
64 | 64 | (assert_invalid |
65 | 65 | (module |
|
68 | 68 | (type $s (sub $r (array (ref i31)))) |
69 | 69 | (type (sub $s (array (ref null i31)))) ;; invalid |
70 | 70 | ) |
71 | | - "subtype must match supertype" |
| 71 | + "sub type must match super type" |
72 | 72 | ) |
73 | 73 | (assert_invalid |
74 | 74 | (module |
|
77 | 77 | (type $ss (sub $rr (array (ref array)))) |
78 | 78 | (type (sub $ss (array (ref null array)))) ;; invalid |
79 | 79 | ) |
80 | | - "subtype must match supertype" |
| 80 | + "sub type must match super type" |
81 | 81 | ) |
82 | 82 | (assert_invalid |
83 | 83 | (module |
|
86 | 86 | (type $sss (sub $rrr (array (ref struct)))) |
87 | 87 | (type (sub $sss (array (ref null struct)))) ;; invalid |
88 | 88 | ) |
89 | | - "subtype must match supertype" |
| 89 | + "sub type must match super type" |
90 | 90 | ) |
91 | 91 | (assert_invalid |
92 | 92 | (module |
93 | 93 | (type $t (sub (array (mut funcref)))) |
94 | 94 | (type $u (sub $t (array (ref null func)))) |
95 | 95 | (type (sub $u (array (mut (ref func))))) ;; invalid |
96 | 96 | ) |
97 | | - "subtype must match supertype" |
| 97 | + "sub type must match super type" |
98 | 98 | ) |
99 | 99 | (assert_invalid |
100 | 100 | (module |
101 | 101 | (type $t (sub (array (mut funcref)))) |
102 | 102 | (type $u (sub $t (array (ref null func)))) |
103 | 103 | (type (sub $u (array (ref null extern)))) ;; invalid |
104 | 104 | ) |
105 | | - "subtype must match supertype" |
| 105 | + "sub type must match super type" |
106 | 106 | ) |
107 | 107 | (assert_invalid |
108 | 108 | (module |
109 | 109 | (type $t0 (sub (array (mut externref)))) |
110 | 110 | (type $u0 (sub $t0 (array (ref null extern)))) |
111 | 111 | (type (sub $u0 (array (mut (ref extern))))) ;; invalid |
112 | 112 | ) |
113 | | - "subtype must match supertype" |
| 113 | + "sub type must match super type" |
114 | 114 | ) |
115 | 115 | (assert_invalid |
116 | 116 | (module |
|
119 | 119 | (type $v0 (sub $u0 (array (ref extern)))) |
120 | 120 | (type (sub $v0 (array nullexternref))) ;; invalid |
121 | 121 | ) |
122 | | - "subtype must match supertype" |
| 122 | + "sub type must match super type" |
123 | 123 | ) |
124 | 124 | (assert_invalid |
125 | 125 | (module |
126 | 126 | (type $t (sub (array (mut funcref)))) |
127 | 127 | (type (sub $t (array nullexternref))) ;; invalid |
128 | 128 | ) |
129 | | - "subtype must match supertype" |
| 129 | + "sub type must match super type" |
130 | 130 | ) |
131 | 131 | (assert_invalid |
132 | 132 | (module |
|
0 commit comments