-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: There are two type predicates in the Hack schema. The legacy, deprecated, `type`, and the most recent `TypeInfo`. `TypeInfo` contains the pretty-printed type, but also xrefs relative to that string. Codehub uses it to generate go-to-def links the API doc page. Not all definitions contain a TypeInfo field yet. This diff updates the schema to add it everywhere. Motivation: - consistency - if we want to index the Hack type AST, it'll be simpler to add a new field in TypeInfo, which is now available everywhere (see linked task) Reviewed By: pepeiborra, donsbot Differential Revision: D62471296 fbshipit-source-id: 17bf41cab000600d294058b9a3c4293c4504ecd2
- Loading branch information
1 parent
4046373
commit 5d1f21a
Showing
3 changed files
with
30 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters