equal
deleted
inserted
replaced
74 let |
74 let |
75 val pos = Exn_Properties.position_of_polyml_location loc; |
75 val pos = Exn_Properties.position_of_polyml_location loc; |
76 val def_pos = Exn_Properties.position_of_polyml_location decl; |
76 val def_pos = Exn_Properties.position_of_polyml_location decl; |
77 in |
77 in |
78 (is_reported pos andalso pos <> def_pos) ? |
78 (is_reported pos andalso pos <> def_pos) ? |
79 let |
79 cons (pos, fn () => Position.entity_markup kind ("", def_pos), fn () => "") |
80 fun markup () = |
|
81 (Markup.entityN, (Markup.kindN, kind) :: Position.def_properties_of def_pos); |
|
82 in cons (pos, markup, fn () => "") end |
|
83 end; |
80 end; |
84 |
81 |
85 fun reported_entity_id def id loc = |
82 fun reported_entity_id def id loc = |
86 let |
83 let |
87 val pos = Exn_Properties.position_of_polyml_location loc; |
84 val pos = Exn_Properties.position_of_polyml_location loc; |