diff options
Diffstat (limited to 'src/compiler/scala/tools/nsc/backend/icode/GenICode.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/backend/icode/GenICode.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/icode/GenICode.scala b/src/compiler/scala/tools/nsc/backend/icode/GenICode.scala index 69f0d1f826..471a7cc6f7 100644 --- a/src/compiler/scala/tools/nsc/backend/icode/GenICode.scala +++ b/src/compiler/scala/tools/nsc/backend/icode/GenICode.scala @@ -846,6 +846,7 @@ abstract class GenICode extends SubComponent { } case ApplyDynamic(qual, args) => + ctx.clazz.bootstrapClass = Some("scala.runtime.DynamicDispatch") val ctx1 = genLoad(qual, ctx, ANY_REF_CLASS) genLoadArguments(args, tree.symbol.info.paramTypes, ctx1) ctx1.bb.emit(CALL_METHOD(tree.symbol, InvokeDynamic), tree.pos) |