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

Robert Metzger commented on FLINK-1062:
---------------------------------------

Why are you thinking about annotating the types for the lambdas? Isn't passing 
them as (var-)arguments after the lambda easier? (for the user, syntax-wise)

What are our chances of contributing to the OpenJDK 8 compiler to add the 
information into the class files, similar to the Eclipse Compiler?
By the way, there was a link recently on Twitter regarding the end of the 
official Java 7 support by Oracle, already in April 2015: 
http://www.oracle.com/technetwork/java/eol-135779.html

> Type Extraction for Lambdas
> ---------------------------
>
>                 Key: FLINK-1062
>                 URL: https://issues.apache.org/jira/browse/FLINK-1062
>             Project: Flink
>          Issue Type: Improvement
>          Components: Java API
>    Affects Versions: 0.7-incubating
>            Reporter: Stephan Ewen
>            Assignee: Timo Walther
>             Fix For: 0.7-incubating
>
>
> Lambdas currently work only for {{filter}} and {{reduce(a,b)}}, because 
> Lambda type extraction is not in place right now.
> We need to extend the type extraction for lambdas to support the other 
> functions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to