diff options
author | Paul Phillips <paulp@improving.org> | 2013-09-27 09:20:48 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-09-27 09:23:49 -0700 |
commit | 9ea3a4ac2cb36ee8519deab04fd1bd6be81a89cb (patch) | |
tree | 6b962aa33f7f12043e0e4153cb832807a92ea4b0 /src/compiler/scala/tools/nsc/typechecker/Namers.scala | |
parent | 1a3c16fd36407bb2308bbb84739601544ac4a2e5 (diff) | |
download | scala-9ea3a4ac2cb36ee8519deab04fd1bd6be81a89cb.tar.gz scala-9ea3a4ac2cb36ee8519deab04fd1bd6be81a89cb.tar.bz2 scala-9ea3a4ac2cb36ee8519deab04fd1bd6be81a89cb.zip |
SI-6762 rename emptyValDef to noSelfType.
Looks like emptyValDef.isEmpty was already changed to return
false, so now all that's left is a name which means something.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Namers.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Namers.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Namers.scala b/src/compiler/scala/tools/nsc/typechecker/Namers.scala index 347426d42a..3bbf18fe3b 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Namers.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Namers.scala @@ -841,7 +841,7 @@ trait Namers extends MethodSynthesis { // owner is the class with the self type def enterSelf(self: ValDef) { val ValDef(_, name, tpt, _) = self - if (self eq emptyValDef) + if (self eq noSelfType) return val hasName = name != nme.WILDCARD |