[ 1/0 ] on: ZeroDivide do: [:ex | ex resume: 1 ].
[ 1.0/0 ] on: ZeroDivide do: [:ex | ex resume: 1 ].
Why this: [ 1/0 ] on: ZeroDivide do: [:ex | ex resume: 1 ]. returns 1, but this: [ 1.0/0 ] on: ZeroDivide do: [:ex | ex resume: 1 ]. hangs (causes infinite loop) ? View this message in context: Confusing ZeroDivide Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
2015-03-20 16:56 GMT+01:00 webwarrior <[hidden email]>:Why this: [ 1/0 ] on: ZeroDivide do: [:ex | ex resume: 1 ]. returns 1, but this: [ 1.0/0 ] on: ZeroDivide do: [:ex | ex resume: 1 ]. hangs (causes infinite loop) ? View this message in context: Confusing ZeroDivide Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.It is a bug.and now it has a bug entry:15187Endless loop on catching ZeroDivide for floats