This is an automated email from the ASF dual-hosted git repository. aljoscha pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/flink.git
commit dec57b9e9b2c1da8db614f632d37f58d640fd657 Author: Aljoscha Krettek <[email protected]> AuthorDate: Tue Oct 2 10:23:12 2018 +0200 [FLINK-7811] Fix recursion bug in TypeInformationGen It seems this wasn't a problem with Scala 2.11 but with 2.12 we go into infinite recursion. The fix should still be good for 2.11. --- .../scala/org/apache/flink/api/scala/codegen/TypeInformationGen.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flink-scala/src/main/scala/org/apache/flink/api/scala/codegen/TypeInformationGen.scala b/flink-scala/src/main/scala/org/apache/flink/api/scala/codegen/TypeInformationGen.scala index 74f5f5b..a9fbbed 100644 --- a/flink-scala/src/main/scala/org/apache/flink/api/scala/codegen/TypeInformationGen.scala +++ b/flink-scala/src/main/scala/org/apache/flink/api/scala/codegen/TypeInformationGen.scala @@ -397,7 +397,7 @@ private[flink] trait TypeInformationGen[C <: Context] { val result = c.inferImplicitValue( c.weakTypeOf[TypeInformation[T]], silent = true, - withMacrosDisabled = false, + withMacrosDisabled = true, pos = c.enclosingPosition) if (result.isEmpty) {
