We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e3c662 commit 3d0da75Copy full SHA for 3d0da75
src/boot/me/resolve.ml
@@ -178,10 +178,11 @@ let all_item_collecting_visitor
178
note_header i.id f.Ast.fn_input_slots;
179
| Ast.MOD_ITEM_obj ob ->
180
note_header i.id ob.Ast.obj_state;
181
- | Ast.MOD_ITEM_tag (hdr, oid, _) ->
182
- note_header i.id hdr;
183
- Hashtbl.replace cx.ctxt_user_tag_names oid
184
- (path_to_name cx.ctxt_curr_path);
+ | Ast.MOD_ITEM_tag (hdr, _, _) ->
+ note_header i.id hdr
+ | Ast.MOD_ITEM_type (_, Ast.TY_tag ttag) ->
+ Hashtbl.replace cx.ctxt_user_tag_names ttag.Ast.tag_id
185
+ (path_to_name cx.ctxt_curr_path)
186
| _ -> ()
187
end;
188
inner.Walk.visit_mod_item_pre n p i
0 commit comments