forked from facebook/hhvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New constructor to add quickfixes when evaluating
Reasons_callback.t
s
Summary: There are use cases where we want to add a `Pos.t Quickfix.t` when we have a `Reasons_callback.t` in hand. Currently, those use cases are stashing the quickfix in the `Secondary.t` error to which the callback is applied. This is not the intended use of secondary errors so we add a combinator which allows modification of the callback to contain the quickfixes Reviewed By: mheiber Differential Revision: D45947487 fbshipit-source-id: 061dfbfba42559b226f7e05123685079bd8493a1
- Loading branch information
1 parent
82435a4
commit 36060c3
Showing
3 changed files
with
24 additions
and
0 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