summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
diff options
context:
space:
mode:
authorSom Snytt <som.snytt@gmail.com>2016-09-13 13:33:05 -0700
committerSom Snytt <som.snytt@gmail.com>2017-03-11 23:38:08 -0800
commit1b415c904bece230a706c0d19462345fc87abf67 (patch)
tree7b7e629563a52f5b92884a95bd63dbc0d3978975 /src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
parentf672aff3f3b92506741b62d8f7eae6d1e0dc36a7 (diff)
downloadscala-1b415c904bece230a706c0d19462345fc87abf67.tar.gz
scala-1b415c904bece230a706c0d19462345fc87abf67.tar.bz2
scala-1b415c904bece230a706c0d19462345fc87abf67.zip
SI-8040 Heeding -Ywarn-unused
Polish notation, as in shoe-shine, as recommended by the warning. Minor clean-ups as advocated by `Ywarn-unused` and `Xlint`.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/RefChecks.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/RefChecks.scala2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala b/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
index 31476e86cd..b1e7592b47 100644
--- a/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
@@ -323,8 +323,6 @@ abstract class RefChecks extends Transform {
import pair._
val member = low
val other = high
- def memberTp = lowType
- def otherTp = highType
// debuglog(s"Checking validity of ${member.fullLocationString} overriding ${other.fullLocationString}")