diff options
author | michelou <michelou@epfl.ch> | 2011-09-17 15:59:16 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2011-09-17 15:59:16 +0000 |
commit | fa0f48a5dffacf5622d1d82ec12ef0c1930354bd (patch) | |
tree | ee60ef4787fa33d8544bebaf1778206676758628 /src/compiler/scala/tools/nsc/typechecker/Namers.scala | |
parent | a3ce6c471a445716a19d7402414ffda50f1d8e80 (diff) | |
download | scala-fa0f48a5dffacf5622d1d82ec12ef0c1930354bd.tar.gz scala-fa0f48a5dffacf5622d1d82ec12ef0c1930354bd.tar.bz2 scala-fa0f48a5dffacf5622d1d82ec12ef0c1930354bd.zip |
fixed svn props, did some cleanup
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Namers.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Namers.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Namers.scala b/src/compiler/scala/tools/nsc/typechecker/Namers.scala index c3062b3b2e..bec5cef57a 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Namers.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Namers.scala @@ -41,8 +41,8 @@ trait Namers { self: Analyzer => } } - private class NormalNamer(context : Context) extends Namer(context) - def newNamer(context : Context) : Namer = new NormalNamer(context) + private class NormalNamer(context: Context) extends Namer(context) + def newNamer(context: Context): Namer = new NormalNamer(context) // In the typeCompleter (templateSig) of a case class (resp it's module), // synthetic `copy` (reps `apply`, `unapply`) methods are added. To compute @@ -948,7 +948,7 @@ trait Namers { self: Analyzer => else MethodType(params, restpe) } - def thisMethodType(restpe: Type) = { + def thisMethodType(restpe: Type) = { import scala.collection.mutable.ListBuffer val okParams = ListBuffer[Symbol]() // can we relax these restrictions? see test/files/pos/depmet_implicit_oopsla_session_2.scala and neg/depmet_try_implicit.scala for motivation |