Recent

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

Coldzer0

  • Jr. Member
  • **
  • Posts: 50
[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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 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.

Coldzer0

  • Jr. Member
  • **
  • Posts: 50
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