View Issue Details

IDProjectCategoryView StatusLast Update
0023871LazarusIDEpublic2020-12-05 14:18
ReporterVojtech Cihak Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Product Version1.1 (SVN) 
Summary0023871: Autocomplete - packed array
Description"Packed array" as parameter does not work with autocomplete, although code is compilable.

unit Unit1;
{$mode objfpc}{$H+}

interface

uses
  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs;

type
  TForm1 = class(TForm)
  private
    { private declarations }
  public
    { public declarations }
    procedure MyProc(PriceStr: Packed Array of char);
  end;

var
  Form1: TForm1;

implementation

procedure TForm1.MyProc(PriceStr: Packed Array of char);
begin

end;

{$R *.lfm}

end.
         
Steps To Reproduce1) Start new project (Application)
2) Copy the code above
3) Try Ctrl+Space inside method body

Messages will show: unit1.pas(15,32) Error: identifier expected, but Packed found

Lazarus 1.1 r40203M FPC 2.7.1 x86_64-linux-qt
TagsNo tags attached.
Fixed in Revision
LazTarget-
Widgetset
Attached Files

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2013-02-10 20:24 Vojtech Cihak New Issue
2020-12-05 14:18 Bart Broersma Status new => confirmed
2020-12-05 14:18 Bart Broersma LazTarget => -