From 12d57cd2b4371c9e15a062e3aade3f3deafdbb5d Mon Sep 17 00:00:00 2001 From: Lukas Rytz Date: Sat, 30 May 2009 10:24:39 +0000 Subject: fixed MSIL build and added ".scala_dependencies... fixed MSIL build and added ".scala_dependencies" to svn:ignore --- src/compiler/scala/tools/nsc/symtab/clr/TypeParser.scala | 4 ++-- 1 file 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); } //########################################################################## -- cgit v1.2.3