-
Notifications
You must be signed in to change notification settings - Fork 442
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed error message for invalid type parameters to include
Subtract
Summary: + Problem: The error message for failing to give arithmetic type operators types that are a subtype of int does not include `Subtract`. + Background: In the previous diff, we implemented the `Subtract` type operator. When it fails (and is given arguments that are not a subtype of int), a particular error message displays, which is hard-coded to include `Add`, `Multiply`, and `Divide`, but not `Subtract`. + Solution: This diff just makes `Subtract` included in that message. Reviewed By: pradeep90 Differential Revision: D30049950 fbshipit-source-id: d4b17b32d83428a02f36094cff73e87365d37b12
- Loading branch information
1 parent
6a3d99c
commit e40e8c2
Showing
2 changed files
with
15 additions
and
10 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