summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/settings/MutableSettings.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-06-06 09:43:05 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-06-08 15:31:45 +0200
commit252a44864786b6832b9da4c29d1ac9aad48c4291 (patch)
treeaef048d8a210d38f116b8875d99e3c13c703d685 /src/compiler/scala/tools/nsc/settings/MutableSettings.scala
parent6bb5975289c5b11cb8c88dd4629286956b5d3d27 (diff)
downloadscala-252a44864786b6832b9da4c29d1ac9aad48c4291.tar.gz
scala-252a44864786b6832b9da4c29d1ac9aad48c4291.tar.bz2
scala-252a44864786b6832b9da4c29d1ac9aad48c4291.zip
ClassTag.erasure => ClassTag.runtimeClass
This change is made to be consistent with JavaMirrors. And, in my opinion, a technology-neutral term is better here.
Diffstat (limited to 'src/compiler/scala/tools/nsc/settings/MutableSettings.scala')
-rw-r--r--src/compiler/scala/tools/nsc/settings/MutableSettings.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/settings/MutableSettings.scala b/src/compiler/scala/tools/nsc/settings/MutableSettings.scala
index c4dd9a2a36..2e4aa270bc 100644
--- a/src/compiler/scala/tools/nsc/settings/MutableSettings.scala
+++ b/src/compiler/scala/tools/nsc/settings/MutableSettings.scala
@@ -184,7 +184,7 @@ class MutableSettings(val errorFn: String => Unit)
* and `boot.class.path`. These resources should contain the application
* and boot classpaths in the same form as would be passed on the command line.*/
def embeddedDefaults[T: ClassTag]: Unit =
- embeddedDefaults(classTag[T].erasure.getClassLoader)
+ embeddedDefaults(classTag[T].runtimeClass.getClassLoader)
/** Initializes these settings for embedded use by a class from the given class loader.
* The class loader for `T` should provide resources `app.class.path`