On Sun, Mar 8, 2020 at 3:59 PM fredvs via fpc-pascal
<fpc-pascal@lists.freepascal.org> wrote:

> To resume, the problem comes from "if fld1 is tblobfield".

No, you miss the point:

> if fld1 is tblobfield and (self.fblobintf <> nil) then begin

This will not compile anymore since the operator precedence of IS has
been altered (to conform to docs and Delphi)
So it is now parsed as:
  if fld1 is (tblobfield and (self.fblobintf <> nil)) then begin

Use: if (fld1 is tblobfield) and (self.fblobintf <> nil) then begin

Bart

-- 
Bart
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to