access violation at variable declaration completion with 2d array
Original Reporter info from Mantis: BeniBela @benibela
-
Reporter name: Benito van der Zander
Original Reporter info from Mantis: BeniBela @benibela
- Reporter name: Benito van der Zander
Description:
Pressing ctrl+shift+c at v in the following program causes an access violation
program Project1;
var S: array[1..501,1..501] of integer;
r,c:integer;
begin
v := s[r][c];
end.
it works with an 1d array
Additional information:
$0000000000B1714C line 7380 of finddeclarationtool.pas
$0000000000B165F9 line 7616 of finddeclarationtool.pas
$0000000000B1A0C7 line 7857 of finddeclarationtool.pas
$0000000000B13548 line 6002 of finddeclarationtool.pas
$0000000000B1F726 line 9864 of finddeclarationtool.pas
$0000000000FED422 line 1592 of codecompletiontool.pas
$000000000100B308 line 8506 of codecompletiontool.pas
$0000000000B311B9 line 3708 of codetoolmanager.pas
$00000000006A8018 line 16522 of main.pp
$000000000065C883 line 3425 of main.pp
$0000000000D6A9AD line 7633 of sourceeditor.pp
$0000000000D4FDCB line 3264 of sourceeditor.pp
$00000000010484C6 line 6606 of synedit.pp
$000000000104411C line 5987 of synedit.pp
$00000000010324CC line 2738 of synedit.pp
$000000000088EA45 line 5564 of include/wincontrol.inc
$000000000088EE62 line 5693 of include/wincontrol.inc
### TCodeToolManager.HandleException: "EAccessViolation: Access violation" at Line=20 Col=7
Mantis conversion info:
- Mantis ID: 22627
- OS: debian
- OS Build: sid
- Platform: amd64
- Version: 1.1 (SVN)