Bug: both record and class helpers no longer work

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug: both record and class helpers no longer work

Anthony Walter-3
Message repeated here because I sent to original message to the wrong list group.

I've tested going back to September revision 25577 both class and record helpers are broken. They work in simple stand alone units, but when you bring in the LCL and other units they fail to compile.

I create a new windows form project and added a few line of code. There error message is:

main.pas(49,5) Error: identifier idents no member "Reset"

Bug filed here:

http://bugs.freepascal.org/view.php?id=25210

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Bug: both record and class helpers no longer work

Michal Wallace
On Sat, Oct 19, 2013 at 12:12 AM, Anthony Walter <[hidden email]> wrote:
I've tested going back to September revision 25577 both class and record helpers are broken. They work in simple stand alone units, but when you bring in the LCL and other units they fail to compile.

http://bugs.freepascal.org/view.php?id=25210

I updated the bug report with some more details and a test case, but as a workaround, try moving your helper to your unit's implementation section. That fixed the issue for me.

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal