summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid MacIver <david.maciver@gmail.com>2008-10-26 19:04:00 +0000
committerDavid MacIver <david.maciver@gmail.com>2008-10-26 19:04:00 +0000
commit22ef50488a216fee15e9a940f244d9118cdfac8e (patch)
treead84a62ab869b2d15d2d8c080a20b6ee9f2ac279
parenta12fde6a5aadf6e00b982f3fb05470ba1ca42f64 (diff)
downloadscala-22ef50488a216fee15e9a940f244d9118cdfac8e.tar.gz
scala-22ef50488a216fee15e9a940f244d9118cdfac8e.tar.bz2
scala-22ef50488a216fee15e9a940f244d9118cdfac8e.zip
Minor edits - primarily comments and code removal.
-rw-r--r--src/compiler/scala/tools/nsc/matching/CodeFactory.scala7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/compiler/scala/tools/nsc/matching/CodeFactory.scala b/src/compiler/scala/tools/nsc/matching/CodeFactory.scala
index 1c1ab6567e..44a5e77264 100644
--- a/src/compiler/scala/tools/nsc/matching/CodeFactory.scala
+++ b/src/compiler/scala/tools/nsc/matching/CodeFactory.scala
@@ -8,8 +8,7 @@ package scala.tools.nsc.matching
import scala.tools.nsc.util.Position
-/** contains many helper methods that build trees...some of these currently
- * unused, since were for regexp matching.
+/** Helper methods that build trees for pattern matching.
*
* @author Burak Emir
*/
@@ -41,10 +40,6 @@ trait CodeFactory {
case Binding(v,t,n) => ValDef(v, typed(mkIdent(t)))::targetParams(n)
}
- final def pairType(left: Type, right: Type) =
- appliedType(definitions.TupleClass(2).typeConstructor,
- List(left,right))
-
/** returns A for T <: Sequence[ A ]
*/
final def getElemType_Sequence(tpe: Type): Type = {