summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/backend/jvm/GenASM.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-11-18 09:39:55 -0800
committerPaul Phillips <paulp@improving.org>2013-11-18 11:43:57 -0800
commit2d4f0f1859b957b744f9b9f222dec8e8c478a4a8 (patch)
treeca7f779bc12f4b23b91558ad5b871d1e895ed9ac /src/compiler/scala/tools/nsc/backend/jvm/GenASM.scala
parentc243435f113615b2f7407fbd683c93ec16c73749 (diff)
downloadscala-2d4f0f1859b957b744f9b9f222dec8e8c478a4a8.tar.gz
scala-2d4f0f1859b957b744f9b9f222dec8e8c478a4a8.tar.bz2
scala-2d4f0f1859b957b744f9b9f222dec8e8c478a4a8.zip
Removing deprecated code.
Code which has been deprecated since 2.10.0 and which allowed for straightforward removal.
Diffstat (limited to 'src/compiler/scala/tools/nsc/backend/jvm/GenASM.scala')
-rw-r--r--src/compiler/scala/tools/nsc/backend/jvm/GenASM.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/jvm/GenASM.scala b/src/compiler/scala/tools/nsc/backend/jvm/GenASM.scala
index 5e885fdd04..cf20348942 100644
--- a/src/compiler/scala/tools/nsc/backend/jvm/GenASM.scala
+++ b/src/compiler/scala/tools/nsc/backend/jvm/GenASM.scala
@@ -293,7 +293,7 @@ abstract class GenASM extends SubComponent with BytecodeWriters with GenJVMASM {
def inameToSymbol(iname: String): Symbol = {
val name = global.newTypeName(iname)
val res0 =
- if (nme.isModuleName(name)) rootMirror.getModule(name.dropModule)
+ if (nme.isModuleName(name)) rootMirror.getModuleByName(name.dropModule)
else rootMirror.getClassByName(name.replace('/', '.')) // TODO fails for inner classes (but this hasn't been tested).
assert(res0 != NoSymbol)
val res = jsymbol(res0)