catch return with arguments inside generator (fixes #1198132)
added test case
whitespace
Merge in changes from @attilaolah