diff options
author | michelou <michelou@epfl.ch> | 2008-01-23 13:22:44 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2008-01-23 13:22:44 +0000 |
commit | b355de5a086c036e8d9c35459e4558053e425603 (patch) | |
tree | 7985821688f9984a555fcca9bef45790a4c896bb | |
parent | c3c207c8f154ed7936840d3d228ddb6eefb836a1 (diff) | |
download | scala-b355de5a086c036e8d9c35459e4558053e425603.tar.gz scala-b355de5a086c036e8d9c35459e4558053e425603.tar.bz2 scala-b355de5a086c036e8d9c35459e4558053e425603.zip |
+= (a -> b)
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/Definitions.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/Definitions.scala b/src/compiler/scala/tools/nsc/symtab/Definitions.scala index 0a4ce8713f..d31092d6b4 100644 --- a/src/compiler/scala/tools/nsc/symtab/Definitions.scala +++ b/src/compiler/scala/tools/nsc/symtab/Definitions.scala @@ -837,14 +837,14 @@ trait Definitions { newCaller } - // def addScalaCallerInfo(scalaCaller: Symbol, methSym: Symbol, delType: Type) = { + // def addScalaCallerInfo(scalaCaller: Symbol, methSym: Symbol, delType: Type) { // assert(Delegate_scalaCallers contains scalaCaller) - // Delegate_scalaCallerInfos += scalaCaller -> (methSym, delType) + // Delegate_scalaCallerInfos += (scalaCaller -> (methSym, delType)) // } - def addScalaCallerInfo(scalaCaller: Symbol, methSym: Symbol) = { + def addScalaCallerInfo(scalaCaller: Symbol, methSym: Symbol) { assert(Delegate_scalaCallers contains scalaCaller) - Delegate_scalaCallerTargets += Pair(scalaCaller, methSym) + Delegate_scalaCallerTargets += (scalaCaller -> methSym) } } } |