[fpc-devel] On experience of using class helpers

Alexander Klenin klenin at gmail.com
Fri Apr 20 05:40:24 CEST 2012


I have used class helpers feature for the first time.
(See components/tachart/tachartteechart.pas, r36916).
The good news is that I was able to get it working.
The bad news is that I have encountered 4 bugs and 1 missing feature
in about 10 lines of code :)
(Also, Lazaus does not seem to support class helpers at all.)

I have entered some simpler issues in the tracker:

http://bugs.freepascal.org/view.php?id=21808
http://bugs.freepascal.org/view.php?id=21809
http://bugs.freepascal.org/view.php?id=21810
http://bugs.freepascal.org/view.php?id=21811
http://bugs.freepascal.org/view.php?id=21812

Unfortunately, I also have more subtle problems (run-time crash)
which I was yet unable to reproduce on a simple test case.

Generally, class helpers feature is potentially useful, but still not
quite ready.

-- 
Alexander S. Klenin



More information about the fpc-devel mailing list