From: matz@... (Yukihiro Matsumoto) Date: 2003-08-14T02:43:52+09:00 Subject: Re: proc/block with return Hi, In message "Re: proc/block with return" on 03/08/13, george.marrows@ps.ge.com writes: |Here's another return/proc/block oddity, though it may just be a side effect |of the above. | |If you run the code below on 1.8.0 you get: |trace: [1, 4, 6, 8, 2] | |but if you make the suggested '&p' -> 'p' changes, you get: |trace: [1, 4, 6, 8, 2, 5] | |So the behaviour of return depends on the history of how the block got to |the yielding method, which is odd. It's odd indeed. Let me check. matz.