summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@epfl.ch>2009-05-30 10:24:39 +0000
committerLukas Rytz <lukas.rytz@epfl.ch>2009-05-30 10:24:39 +0000
commit12d57cd2b4371c9e15a062e3aade3f3deafdbb5d (patch)
tree25711bb12999241ed6ef5cb922692da0a7e14cf8
parent390ccacfe0caa4c07af6193dec3e172c0fcd7896 (diff)
downloadscala-12d57cd2b4371c9e15a062e3aade3f3deafdbb5d.tar.gz
scala-12d57cd2b4371c9e15a062e3aade3f3deafdbb5d.tar.bz2
scala-12d57cd2b4371c9e15a062e3aade3f3deafdbb5d.zip
fixed MSIL build and added ".scala_dependencies...
fixed MSIL build and added ".scala_dependencies" to svn:ignore
-rw-r--r--src/compiler/scala/tools/nsc/symtab/clr/TypeParser.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/clr/TypeParser.scala b/src/compiler/scala/tools/nsc/symtab/clr/TypeParser.scala
index d6f3b37328..5b47dc50eb 100644
--- a/src/compiler/scala/tools/nsc/symtab/clr/TypeParser.scala
+++ b/src/compiler/scala/tools/nsc/symtab/clr/TypeParser.scala
@@ -362,13 +362,13 @@ abstract class TypeParser {
methodType(method.GetParameters().map(_.ParameterType), rettype);
/** Return a method type for the provided argument types and return type. */
- private def methodType(argtypes: Array[MSILType], rettype: Type): Symbol => Type = method => {
+ private def methodType(argtypes: Array[MSILType], rettype: Type): Symbol => Type = {
def paramType(typ: MSILType): Type =
if (typ eq clrTypes.OBJECT) definitions.AnyClass.tpe
else getCLSType(typ);
val ptypes = argtypes.map(paramType).toList;
if (ptypes.contains(null)) null
- else JavaMethodType(method.newSyntheticValueParams(ptypes), rettype);
+ else method => JavaMethodType(method.newSyntheticValueParams(ptypes), rettype);
}
//##########################################################################