Skip to content

Commit

Permalink
PR review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
jonludlam committed Feb 26, 2021
1 parent 2def156 commit d6f68bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions src/xref2/lang_of.ml
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,7 @@ module ExtractIDs = struct
let name = Ident.Name.type_ id in
let identifier =
if List.mem name map.shadowed.s_types then
`Type
( parent,
Odoc_model.Names.TypeName.internal_of_string (Ident.Name.type_ id)
)
`Type (parent, Odoc_model.Names.TypeName.internal_of_string name)
else `Type (parent, Ident.Name.typed_type id)
in
{
Expand Down
2 changes: 1 addition & 1 deletion test/xref2/v408_and_above/github_issue_587.t/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh

OCAMLC=ocamlc
ODOC=odoc
Expand Down

0 comments on commit d6f68bf

Please sign in to comment.