RumbleDB/rumble

Constructors of ALL types should ignore whitespace characters in string

mstevan opened this issue · 1 comments

@mstevan
test-set: prod/CastExpr.xml
test-cases: K-SeqExprCast-536, 588, 640, 692, 712, 744, 796, 848, 900, 1264, 1316, 1367

@team
Constructors of ALL types should be immune to whitespace characters - whitespace characters should be omitted. Sample below

Input:
integer(" 6789 ") eq integer(" 6789 ")

Output:
⚠️ ️There was an error.

Code: [XPTY0004] (this code can be looked up in the documentation and specifications).

Location information: file:/Users/mstevan/Documents/:LINE:1:COLUMN:0:

6789 : value of type string is not castable to type integer.

Expected output:
true

All tests are passing. At the moment, there are no other tests crashing because of fix