summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Unapplies.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-09-27 09:20:48 -0700
committerPaul Phillips <paulp@improving.org>2013-09-27 09:23:49 -0700
commit9ea3a4ac2cb36ee8519deab04fd1bd6be81a89cb (patch)
tree6b962aa33f7f12043e0e4153cb832807a92ea4b0 /src/compiler/scala/tools/nsc/typechecker/Unapplies.scala
parent1a3c16fd36407bb2308bbb84739601544ac4a2e5 (diff)
downloadscala-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/Unapplies.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Unapplies.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Unapplies.scala b/src/compiler/scala/tools/nsc/typechecker/Unapplies.scala
index af19e3cf80..0c7c42db17 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Unapplies.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Unapplies.scala
@@ -119,7 +119,7 @@ trait Unapplies extends ast.TreeDSL {
ModuleDef(
Modifiers(cdef.mods.flags & AccessFlags | SYNTHETIC, cdef.mods.privateWithin),
cdef.name.toTermName,
- gen.mkTemplate(parents, emptyValDef, NoMods, Nil, body, cdef.impl.pos.focus))
+ gen.mkTemplate(parents, noSelfType, NoMods, Nil, body, cdef.impl.pos.focus))
}
/** The apply method corresponding to a case class