Type Helper and static array
Original Reporter info from Mantis: mathias
-
Reporter name: Mathias
Original Reporter info from Mantis: mathias
- Reporter name: Mathias
Description:
Does "Type Helper" only with standard types?
The class itself it compiles without errors.
But when you call, there is an error message.
See link, there the code and the problem is described. ("Illegal qualifier")
http://www.lazarusforum.de/viewtopic.php?f=10&t=9286
Steps to reproduce:
type
TVector = array[0..2] of Single;
TVectorHelper = Type Helper for TVector
public
procedure Add;
end;
procedure TVectorHelper.Add;
begin
end;
procedure TForm1.Button1Click(Sender: TObject);
var
v:TVector;
begin
v.Add; // "unit1.pas(53,5) Error: Illegal qualifier"
end;
Additional information:
http://lists.freepascal.org/pipermail/fpc-devel/2016-January/thread.html
Mantis conversion info:
- Mantis ID: 29321
- OS: Linux 64Bit
- OS Build: Linux Mint 17.3
- Build: 160102
- Platform: Intel I7
- Version: 3.1.1
- Fixed in version: 3.1.1
- Fixed in revision: 32845 (#61b12af8)
- Monitored by: » mathias (Mathias)