View Issue Details

IDProjectCategoryView StatusLast Update
0016711LazarusIDEpublic2016-09-04 18:03
ReportercorpsmanAssigned ToMattias Gaertner 
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Version0.9.29 (SVN)Product Build 
Target VersionFixed in Version 
Summary0016711: Error with code Completion for 2D or higher dimension array's
DescriptionUsing the Code :

  TRecord = Record
    v1, v2: Integer;
  End;

  TArray_ = Array Of Array Of TRecord;

Var
  arr :TArray_;

..
  setlength(arr,2,2);
  arr[0,0].<here>


if you press STRG + SPACE for code completion at the position <here> the ide throws the Message :

Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.4.0-2 [2010/03/06] for i386
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Linux for i386
Compiling project1.lpr
Compiling unit1.pas
Compiling resource /home/corpsman/Desktop/blab/lib/i386-linux/project1.or
Linking /home/corpsman/Desktop/blab/project1
/usr/bin/ld: warning: /home/corpsman/Desktop/blab/link.res contains output sections; did you forget -T?
46 lines compiled, 5.4 sec
2 hint(s) issued
Project "project1" successfully built
---------------------------------------------
unit1.pas(42,13) Error: illegal qualifier . found
TagsNo tags attached.
Fixed in Revision
LazTarget-
Widgetset
Attached Files

Relationships

related to 0025045 resolvedMattias Gaertner Codetools incorrectly handles multi-dimensional arrays 
related to 0022627 assignedMattias Gaertner access violation at variable declaration completion with 2d array 

Activities

Michl

2014-10-30 08:43

developer   ~0078735

There are two different behaviors:

arr[0][0]. -> completion work as expected

arr[0,0]. -> this not

m_burkhard@gmx.ch

2016-09-04 18:03

reporter   ~0094409

Does this have a reason that the bug is not resolved?

Issue History

Date Modified Username Field Change
2010-06-12 09:30 corpsman New Issue
2010-06-12 09:49 Mattias Gaertner Status new => assigned
2010-06-12 09:49 Mattias Gaertner Assigned To => Mattias Gaertner
2010-07-08 18:11 Mattias Gaertner LazTarget => 1.2
2014-01-14 15:16 Martin Friebe LazTarget 1.2 => 1.4
2014-10-28 23:07 Juha Manninen Relationship added related to 0022627
2014-10-28 23:18 Juha Manninen Relationship added related to 0025045
2014-10-30 08:43 Michl Note Added: 0078735
2015-04-27 21:59 Juha Manninen LazTarget 1.4 => -
2016-09-04 18:03 m_burkhard@gmx.ch Note Added: 0094409