Github user rxin commented on the pull request:

    https://github.com/apache/spark/pull/717#issuecomment-42992463
  
    @willb can you also add a test case where an inline function is using 
return statement in its closure to make sure that is allowed? e.g.
    
    ```scala
    sc.parallelize(1 to 100).map { i =>
      def foo(): Int = { return 1; 2 }
      foo()
    }
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to