Skip to content

Commit

Permalink
Fix buck.SearchByLocalName
Browse files Browse the repository at this point in the history
Reviewed By: phlalx

Differential Revision: D65349624

fbshipit-source-id: 75e4f28714d0f64680cf4699c66895d0192a9c82
  • Loading branch information
Simon Marlow authored and facebook-github-bot committed Nov 1, 2024
1 parent dd43070 commit b4babbb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions glean/schema/source/buck.angle
Original file line number Diff line number Diff line change
Expand Up @@ -523,9 +523,10 @@ predicate SearchByLocalName:
name : LocalName,
decl : XRefDestination
}
stored { buck.LocalName NameStr, Decl } where
stored { L, Decl } where
( LDecl = buck.Locator { name = NameStr }; { locator = LDecl } = Decl) |
( DDecl = buck.Definition { name = NameStr }; { definition = DDecl } = Decl)
( DDecl = buck.Definition { name = NameStr }; { definition = DDecl } = Decl);
L = buck.LocalName NameStr

} # end schema buck.4

Expand Down

0 comments on commit b4babbb

Please sign in to comment.