An error message with no location or details for a property named 'system' with abstract property accessors
Original Reporter info from Mantis: grahamegrieve
-
Reporter name: Grahame Grieve
Original Reporter info from Mantis: grahamegrieve
- Reporter name: Grahame Grieve
Description:
A property named 'system' with abstract property accessors results in an error message with no location or details. This makes it really difficult to trace down to a source. The error message should at least name the property and/or indicate a location in source
Note that a property named 'system' is valid in delphi, so that may also be an issue.
Steps to reproduce:
try compiling this:
program Project1;
//{$mode Delphi}
{$mode objfpc}
uses
Classes;
type
TSystemClass = class
private
x: string;
function GetX: String; virtual; abstract;
procedure SetX(value: String); virtual; abstract;
public
property System: String read GetX write SetX;
end;
begin
end.
Mantis conversion info:
- Mantis ID: 37634
- Version: 3.2.0