On Sun, 5 Apr 2015, leledumbo wrote:

I tested in Delphi XE, it also crashes. So, yes it is intended behaviour.

It is not desirable, of course. But there is no way the compiler can
decide
whether the 'raise e' statement is correct.

That's bad to know :|
What if you ask Embarcadero first? Probably they missed the point. I don't
have Delphi so I can't ask them.

Like I said, there is no way of knowing what is correct or not.

I don't really see what can be done except maybe checking if an object is already in the exception stack before adding it again (which I assume is what is happening)

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

Reply via email to