@@ -80191,12 +80191,11 @@ let tag_is_zero (tag : J.expression) =
8019180191 (tag : J.expression)
8019280192 (tag_info : J.tag_info) =
8019380193 match tag_info with
80194- | Blk_variant _
80195- | Blk_module _
80194+ | Blk_variant _
8019680195 | Blk_record _
8019780196 | Blk_constructor _ -> true
8019880197
80199-
80198+ | Blk_module _ -> false
8020080199 | Blk_tuple
8020180200 | Blk_array
8020280201
@@ -80345,7 +80344,7 @@ let caml_block_create = "__"
8034580344
8034680345(** debug symbols *)
8034780346let block_record = "record"
80348- let block_local_module = "localModule"
80347+
8034980348let block_poly_var = "polyVar"
8035080349let block_variant = "variant"
8035180350let block_simple_variant = "simpleVariant"
@@ -84381,9 +84380,6 @@ let dbg_record f =
8438184380 dbg_block_dot f ;
8438284381 P.string f L.block_record
8438384382
84384- let dbg_local_module f =
84385- dbg_block_dot f;
84386- P.string f L.block_local_module
8438784383
8438884384let dbg_poly_var f =
8438984385 dbg_block_dot f;
@@ -85159,13 +85155,13 @@ and expression_desc cxt (level:int) f x : cxt =
8515985155 E.array mutable_flag
8516085156 (Ext_list.map el drop_comment) ]
8516185157 )
85162- | Blk_module labels ->
85163- dbg_local_module f;
85164- P.paren_group f 1 (fun _ -> arguments cxt f
85165- [E.array Immutable
85166- (Ext_list.map labels E.str);
85167- E.array mutable_flag
85168- (Ext_list.map el drop_comment)] )
85158+ | Blk_module labels ->
85159+ assert false
85160+ (*
85161+ This can not happen, see the pattern match on previous branch
85162+ TODO: we still need clean up local module compilation
85163+ to make it more obvious
85164+ * )
8516985165 | Blk_variant name ->
8517085166 dbg_poly_var f;
8517185167 P.paren_group f 1 (fun _ -> arguments cxt f [
0 commit comments