-
Notifications
You must be signed in to change notification settings - Fork 432
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: this diff updates some of the logic from previous diffs to account for operator overrides like we do for comparison operators there is a unit test for comparison op overrides here: https://www.internalfb.com/code/fbsource/[4898bc565af6456c52fb093d68004b70c3b1d49d]/fbcode/tools/pyre/source/ast/test/expressionTest.ml?lines=391 which I'll probably add for the binops in a later diff but it won't work now because we don't generate this AST node during parsing. Reviewed By: arthaud Differential Revision: D57627670 fbshipit-source-id: 804d3135e336f6a2a55ed337921609fbe0c9eb4d
- Loading branch information
1 parent
a6a437a
commit 3899d4b
Showing
4 changed files
with
42 additions
and
3 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