Recent

Author Topic: [IDE] cblock "reference to procedure" auto complete error  (Read 368 times)

Coldzer0

  • New Member
  • *
  • Posts: 40
[IDE] cblock "reference to procedure" auto complete error
« on: March 11, 2020, 02:06:40 am »

I'm trying this code here
https://svn.freepascal.org/svn/fpc/trunk/tests/test/tblock1.pp


But when i try to use auto complete with this code it gives an error
"project1.lpr(7,61) Error: expected =, but ; found"
 
I've Laz IDE 2.0.4 and 2.1.0 But both have the same problem


Is this normal or i'm missing something ?!

trev

  • Hero Member
  • *****
  • Posts: 736
  • Former Delphi 1-7 and 10.2 User
Re: [IDE] cblock "reference to procedure" auto complete error
« Reply #1 on: March 11, 2020, 04:04:59 am »
Known issue. See https://bugs.freepascal.org/view.php?id=36752 where I lodged the bug report. There's a temporary patch (for trunk) and my workaround listed there.
o Lazarus v2.1.0 r63272, FPC v3.3.1 r45525, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (Parallels VM)
o FPC 3.0.4, FreeBSD 12-STABLE r361007 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

Coldzer0

  • New Member
  • *
  • Posts: 40
Re: [IDE] cblock "reference to procedure" auto complete error
« Reply #2 on: March 11, 2020, 04:28:03 am »
Thanks, the temp fix works fine  :D

 

TinyPortal © 2005-2018