Support #1034
Improve error message when args to (infix operator) IsIn have incompatible types
Start date:
17 Mar 2017
Due date:
% Done:
0%
Estimated time:
Description
The infix operator IsIn
accepts many different combinations of arg types.
However, for some non-sensical combinations it gives "sub-optimal" error messages.
For instance,
S := "hello"; 1 IsIn S; --> ERROR: Expecting type STRING, but found type INT --> 1 IsIn S; --> ^