On Sun, Jul 30, 2017 at 10:47 PM, Sven Barth via fpc-pascal
<fpc-pascal@lists.freepascal.org> wrote:
> (though if one would restrict the assignments to the constructors itself
> without any methods called by the constructor then we might be able to
> implement that nevertheless, don't know what Java or other languages
> with final fields allow here)

Java final fields can only be set in constructors (and only once in
each constructor, but I guess it isn't necessary to immitate this
part).

-- 
Felipe Monteiro de Carvalho
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to