summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Infer.scala
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2014-07-07 16:08:57 +0200
committerAdriaan Moors <adriaan.moors@typesafe.com>2014-07-17 15:42:20 +0200
commit2aa1f1e249596b6d629be35170bdbea7ea14cbe2 (patch)
tree4bdd59d9d18565e762df815dc899c784388f5d61 /src/compiler/scala/tools/nsc/typechecker/Infer.scala
parent64ebac245d58221814f9c9375927e3f2e7a2d4f0 (diff)
downloadscala-2aa1f1e249596b6d629be35170bdbea7ea14cbe2.tar.gz
scala-2aa1f1e249596b6d629be35170bdbea7ea14cbe2.tar.bz2
scala-2aa1f1e249596b6d629be35170bdbea7ea14cbe2.zip
Remove another redundant forwarder
In this case, `infer.issue -> context.issue`. Forwarders are dead weight that cause bit rot. They tend to acquire functionality, clutter their defining interface and dilute the purpose of the method they forward to.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Infer.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Infer.scala2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Infer.scala b/src/compiler/scala/tools/nsc/typechecker/Infer.scala
index a3f1da60ce..04657c908b 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Infer.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Infer.scala
@@ -199,8 +199,6 @@ trait Infer extends Checkable {
def getContext = context
- def issue(err: AbsTypeError): Unit = context.issue(err)
-
def explainTypes(tp1: Type, tp2: Type) = {
if (context.reportErrors)
withDisambiguation(List(), tp1, tp2)(global.explainTypes(tp1, tp2))