You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 1, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: src/compiler/scala/tools/nsc/transform/UnCurry.scala
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -237,7 +237,7 @@ abstract class UnCurry extends InfoTransform
237
237
238
238
defcanUseDelamdafyMethod= (
239
239
(inConstructorFlag ==0) // Avoiding synthesizing code prone to SI-6666, SI-8363 by using old-style lambda translation
240
-
&& (!isSpecialized || (settings.target.value =="jvm-1.8")) // DelambdafyTransformer currently only emits generic FunctionN-s, use the old style in the meantime
240
+
&& (!isSpecialized || (settings.isBCodeActive && settings.target.value =="jvm-1.8")) // DelambdafyTransformer currently only emits generic FunctionN-s, use the old style in the meantime
241
241
)
242
242
if (inlineFunctionExpansion ||!canUseDelamdafyMethod) {
0 commit comments