diff options
author | Martin Odersky <odersky@gmail.com> | 2012-02-07 18:56:16 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2012-02-07 18:56:16 +0100 |
commit | 5f02cf9f4035a90225e77a978354ee7c0504e601 (patch) | |
tree | 2187b9c49f8207d2549b3c4ac61fd67d02c5be27 /src/compiler/scala/tools/nsc/typechecker/Implicits.scala | |
parent | aa7ca3599c51702c3c03b27384d25d54ec76afab (diff) | |
download | scala-5f02cf9f4035a90225e77a978354ee7c0504e601.tar.gz scala-5f02cf9f4035a90225e77a978354ee7c0504e601.tar.bz2 scala-5f02cf9f4035a90225e77a978354ee7c0504e601.zip |
Rename isValueClass -> isPrimitiveValueClass
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Implicits.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Implicits.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Implicits.scala b/src/compiler/scala/tools/nsc/typechecker/Implicits.scala index 3d2f86d54d..d73689622f 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Implicits.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Implicits.scala @@ -1119,7 +1119,7 @@ trait Implicits { case ConstantType(value) => manifestOfType(tp1.deconst, full) case TypeRef(pre, sym, args) => - if (isValueClass(sym) || isPhantomClass(sym)) { + if (isPrimitiveValueClass(sym) || isPhantomClass(sym)) { findSingletonManifest(sym.name.toString) } else if (sym == ObjectClass || sym == AnyRefClass) { findSingletonManifest("Object") |