Emil Jerabek wrote:
this looks like a bug: non-negative integer constants are treated as LongestCard, i.e. an unsigned type.
Not exactly (they were treated as signed, but when building the difference, there was a check if the operands are constant and positive in which case to do the operation unsigned -- which is valid for many operations, but not `-'). Fixed now. (emil18.pas)
And an unrelated one: a schema discriminant is not initialized in the situation below.
Also fixed. (emil19*.pas)
Again, thanks for the reports.
Frank