Am 20.04.2012 05:41 schrieb "Alexander Klenin" <kle...@gmail.com>: > > 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 :)
Why do you need to test so much? Just kidding... I'm glad that you tested some of the things I didn't test during development. > (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 AFAIK Delphi does not support this either, because in the helper's interface you only have access to members of itself or its parents. If I remember correctly I have even tested code similar to yours at that time and it might still be available as a test in the tests directory. > 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. Would be good if you're able to find reproducable cases. Regards, Sven
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel