Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2013-10

Bug: both record and class helpers no longer work

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Anthony Walter

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

Michal Wallace
to Anthony Walter
Anthony Walter wrote 6 lines
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.