Skip to content

Commit 0ff199e

Browse files
committed
Make scala corpus cross buildable with 2.12 and 2.13 again
Adapting to scala/scala@d003bf5
1 parent 6fa96b8 commit 0ff199e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

corpus/scala/df29ebb/compiler/scala/tools/nsc/backend/jvm/BCodeBodyBuilder.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1367,7 +1367,7 @@ abstract class BCodeBodyBuilder extends BCodeSkelBuilder {
13671367
import java.lang.invoke.LambdaMetafactory.{FLAG_MARKERS, FLAG_SERIALIZABLE}
13681368
def flagIf(b: Boolean, flag: Int): Int = if (b) flag else 0
13691369
val flags = FLAG_MARKERS | flagIf(serializable, FLAG_SERIALIZABLE)
1370-
val bsmArgs = Seq(samMethodType, implMethodHandle, instantiatedMethodType, Int.box(flags), Int.box(markerInterfaces.length)) ++ markerInterfaces
1370+
val bsmArgs = List(samMethodType, implMethodHandle, instantiatedMethodType, Int.box(flags), Int.box(markerInterfaces.length)) ++ markerInterfaces
13711371
jmethod.visitInvokeDynamicInsn(samName, invokedType, lambdaMetaFactoryAltMetafactoryHandle, bsmArgs: _*)
13721372
}
13731373

0 commit comments

Comments
 (0)