[ 
https://issues.apache.org/jira/browse/FLINK-12328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16825678#comment-16825678
 ] 

vinoyang commented on FLINK-12328:
----------------------------------

[~chauncy] Absolutely yes! Any contribution is welcome. Some minor suggestion, 
it would be better to make the issue title and description more clear. 

> Invalid Express
> ---------------
>
>                 Key: FLINK-12328
>                 URL: https://issues.apache.org/jira/browse/FLINK-12328
>             Project: Flink
>          Issue Type: Improvement
>    Affects Versions: 1.8.0
>            Reporter: chauncy
>            Priority: Major
>
> TestObjectWithBogusReturns#run
> try {
>       nums.map { x => return 1; x * 2}.print()
>     } catch {
>       case inv: ReturnStatementInClosureException => // all good
>       case _: Throwable => fail("Bogus return statement not detected.")
>     }
> this is nums.map function ,x*2 is invalid 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to