Hi,
It look like there is a severe problem when using local functions in class methods:
Once I create a local function in a class method strange things happen. It seems like the pointer to a methods stack frame is lost/currupted or points to some improper place. Local variables of the method shows nonsense values during debugging, it is not possible to see some properties of the class (No symbol in current context reported) and the code is using clearly not proper values of the properties.
After I commented out the local function(s) all started to work properly.
I am using 1.6RC2 with related FPC (fpc-3.0.0-1.i686 rpm package)
Is it a known problem?