On Fri, 28 Jan 2011, cobines wrote:

Hello,

Can someone comment on this issue? It still exists in current FPC
trunk. It seems the patch posted there fixes the issue. Is the patch
not good?

The patch is good, but I suspect a more general patch is needed.


Why is "raise ... at" needed instead of just "raise" ?

Because if you use 'Raise', then the .error method shows up in the stack
dump, when the real location is actually in the frame above. It's not
actually required, but it is nicer to have the real location as the first
frame in your stack list.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to