catch return with arguments inside generator (fixes #1198132)
added test case