-
Notifications
You must be signed in to change notification settings - Fork 613
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Semantic analysis is a collection of mutation and validation steps that should be run in a specific sequence. Exposing individual components is error-prone and unnecessarily increases public API surface. Improve the current situation by providing a single interface (facade) to semantic analysis (`sema`) and removing standard mutators from the public API. Remove useless `ast_validator_test` - all of it is covered by functional (compiler) tests. Remove deprecated `required` from LSP tests since now that validation is fixed we'll get diagnostics for those. Reviewed By: thedavekwon Differential Revision: D63469949 fbshipit-source-id: 4f96693e663a668420b2d26ff7c4272218810a70
- Loading branch information
1 parent
9cb6b67
commit b26e26d
Showing
10 changed files
with
140 additions
and
223 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
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
Oops, something went wrong.