We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eca06cf + 5d03dba commit 9971608Copy full SHA for 9971608
interpreter/valid/valid.ml
@@ -205,7 +205,7 @@ let check_memory_type (c : context) (mt : memory_type) at =
205
206
let check_tag_type (c : context) (et : tag_type) at =
207
match et with
208
- | TagT dt -> check_func_type c (as_func_str_type (expand_def_type dt)) at
+ | TagT dt -> let _ft = as_func_str_type (expand_def_type dt) in ()
209
210
let check_global_type (c : context) (gt : global_type) at =
211
let GlobalT (_mut, t) = gt in
test/core/tag.wast
@@ -21,6 +21,14 @@
21
;; "non-empty tag result type"
22
;; )
23
24
+;; Mutually recursive types
25
+(module
26
+ (rec
27
+ (type $f (func (param (ref null $c))))
28
+ (type $c (cont $f))
29
+ )
30
+ (tag (type $f))
31
+)
32
33
;; Link-time typing
34
0 commit comments