Support yield from inside a block (fixes #379)