expressions: Improve "type mismatch" error messages from expression parser.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 6 Jun 2010 19:41:08 +0000 (12:41 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 6 Jun 2010 19:45:44 +0000 (12:45 -0700)
Before this commit, type mismatches invoking functions in expressions would
yield confusing error messages due to missing type names, e.g.:
    Type mismatch invoking MISSING(number) as missing(string).
This commit fills in the missing type names:
    Type mismatch invoking MISSING(number) as missing().

An upcoming commit will start checking error messages as part of the tests
for expressions, which should ensure that the problem does not recur.


No differences found