Subject | Re: [IBO] Code branching incorrectly in procedure TIB_Column.SetAsVariant( const NewValue: Variant ); in IB_Components |
---|---|
Author | Jason Wharton |
Post date | 2009-08-29T00:34:16Z |
> Very interesting. This suggests that the PASCAL parsing for D2009 has beenActually, on second thought, this suggests Embarcadero is taking their new
> altered. Seems to me it should have raised an exception of some kind at
> compile time rather than outright changing the behavior in a manner this
> is
> non-intuitive.
ownership of Delphi very seriously to have found and fixed a bug of this
nature. I can see why it worked out as it did. There really wasn't any other
option for them to take than to just simply fix their parser. If things were
in a perfect world perhaps they could have included a compiler warning
message saying something to the effect: "Warning: Change of behavior due to
missing semi-colon in case block." and given me the option to flag it as
handled so the warning would no longer appear.
Anyway, back to work.
Thanks again Andreas,
Jason Wharton