[fpc-devel] lone property
Marco van de Voort
marcov at stack.nl
Tue Jun 23 11:12:09 CEST 2009
Hi,
I encountered the following FPC construct that is accepted in both objfpc
and Delphi modes: (in fcl-xml/dom_html)
{$mode objfpc}
type
myclass = class
property doit : integer;
end;
begin
end.
Delphi balks about it (expected: read or write)
I suspect the dom_html maintainer was just listing properties that should be
there according to dom/sax spec. Note that this is not a visibility change of an earlier defined property,
but a entirely new definition.
Does sb know this, and is this a feature? And if so, should delphi mode
accept it ?
More information about the fpc-devel
mailing list