summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Typers.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Typers.scala b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
index b5986f704a..ef135271b8 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
@@ -3482,7 +3482,7 @@ trait Typers extends Modes {
// try to expand according to Dynamic rules.
if (qual.tpe.widen.typeSymbol isNonBottomSubClass DynamicClass) {
- var dynInvoke = Apply(Select(qual, nme.invokeDynamic), List(Literal(Constant(name.toString))))
+ var dynInvoke = Apply(Select(qual, nme.invokeDynamic), List(Literal(Constant(name.decode))))
context.tree match {
case Apply(tree1, args) if tree1 eq tree =>
;