[ https://issues.apache.org/jira/browse/FLINK-8438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327197#comment-16327197 ]
David Anderson commented on FLINK-8438: --------------------------------------- This code (adapted from the Flink scala quickstart) {code:java} import org.apache.flink.api.scala._ import org.apache.flink.streaming.api.scala._ import org.apache.flink.api.common.typeinfo.BasicTypeInfo import org.apache.flink.api.java.typeutils.TupleTypeInfo import org.apache.flink.api.common.typeinfo.Types val text = env.socketTextStream(hostName, port) val foo = (x: String) => (x, 1) val tuples = text.map(foo) {code} produces these errors when compiled by eclipse: {noformat} could not find implicit value for evidence parameter of type org.apache.flink.api.common.typeinfo.TypeInformation[(String, Int)] not enough arguments for method map: (implicit evidence$7: org.apache.flink.api.common.typeinfo.TypeInformation[(String, Int)])org.apache.flink.streaming.api.scala.DataStream[(String, Int)]. Unspecified value parameter evidence$7. {noformat} This code can be made to compile by using TypeInformation.of(), but the resulting tuples are then GenericTypeInfo and don't really work. TypeInformation.of() doesn't work properly with Scala classes. > Ensure that implicit Scala TypeInformation works in Eclipse IDE > --------------------------------------------------------------- > > Key: FLINK-8438 > URL: https://issues.apache.org/jira/browse/FLINK-8438 > Project: Flink > Issue Type: Bug > Components: Type Serialization System > Reporter: Timo Walther > Assignee: Timo Walther > Priority: Major > > It seems that Scala macros do not work properly in the Eclipse IDE. We need > to investigate this further and maybe need to update the Scala macros. -- This message was sent by Atlassian JIRA (v7.6.3#76005)