You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
0 commit comments