summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2011-01-23 15:16:29 +0000
committerMartin Odersky <odersky@gmail.com>2011-01-23 15:16:29 +0000
commitde9a8b91948235df1fbb6867d89ff842d95fbc50 (patch)
tree79347430577832416b12ce8ea5ca92626060eb62
parent168a3ffdd91dc9bfd6cab93ad771e79ba226794e (diff)
downloadscala-de9a8b91948235df1fbb6867d89ff842d95fbc50.tar.gz
scala-de9a8b91948235df1fbb6867d89ff842d95fbc50.tar.bz2
scala-de9a8b91948235df1fbb6867d89ff842d95fbc50.zip
Using decoded names in invokeDynamic.
-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 =>
;