-
Notifications
You must be signed in to change notification settings - Fork 657
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: `ambientDecls` is currently passed to the `SemanticResolver` constructor by reference which then stores the reference. Unfortunately, in a few places (e.g. `resolveASTForParser`, `resolveASTLazy`) we pass in a temporary for this parameter. To fix this, pass it by pointer, and explicitly pass null when it is not needed. Reviewed By: avp Differential Revision: D69624780 fbshipit-source-id: a312664682107aef004c88682939151fc9deb8d2
- Loading branch information
1 parent
58b8719
commit b4f27d3
Showing
3 changed files
with
34 additions
and
12 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