File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2094,7 +2094,7 @@ template<typename Ctx> MaybeResult<> subtype(Ctx& ctx) {
2094
2094
}
2095
2095
2096
2096
if (ctx.in .takeSExprStart (" sub" sv)) {
2097
- if (ctx.in .takeKeyword (" open " sv)) {
2097
+ if (! ctx.in .takeKeyword (" final " sv)) {
2098
2098
ctx.setOpen ();
2099
2099
}
2100
2100
if (auto super = maybeTypeidx (ctx)) {
Original file line number Diff line number Diff line change 29
29
30
30
;; CHECK: (rec
31
31
;; CHECK-NEXT: (type $s0 (struct ))
32
- (type $s0 (sub ( struct ) ))
32
+ (type $s0 (struct ))
33
33
;; CHECK: (type $s1 (struct ))
34
34
(type $s1 (struct (field )))
35
35
)
198
198
(type $any-array (array (mut anyref )))
199
199
200
200
(rec
201
- (type $void (sub open (func )))
201
+ (type $void (sub (func )))
202
202
)
203
203
204
204
;; CHECK: (type $subvoid (sub final $void (func)))
205
- (type $subvoid (sub $void (func )))
205
+ (type $subvoid (sub final $void (func )))
206
206
207
- (type $many (sub open (func (param $x i32 ) (param i64 f32 ) (param ) (param $y f64 )
207
+ (type $many (sub (func (param $x i32 ) (param i64 f32 ) (param ) (param $y f64 )
208
208
(result anyref (ref func )))))
209
209
210
210
;; CHECK: (type $submany (sub final $many (func (param i32 i64 f32 f64) (result anyref (ref func)))))
211
- (type $submany (sub $many (func (param i32 i64 f32 f64 ) (result anyref (ref func )))))
211
+ (type $submany (sub final $many (func (param i32 i64 f32 f64 ) (result anyref (ref func )))))
212
212
213
213
;; imported memories
214
214
(memory (export " mem" ) (export " mem2" ) (import " " " mem" ) 0 )
You can’t perform that action at this time.
0 commit comments