Test for issue on empty yields
Fix fatal error for empty yields
Merge pull request #164 from danez/patch-1

Empty yields raise Fatal error