From 2b6c1c0b6040155b315c97889ec8ad4d81a71b53 Mon Sep 17 00:00:00 2001 From: extempore Date: Fri, 8 May 2009 02:30:47 +0000 Subject: [PATCH] epic MSIL hacking - Array compiles. git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@17673 5e8d7ff9-d8ef-0310-90f0-a4852d11357a --- src/dotnet-library/scala/runtime/RichClass.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dotnet-library/scala/runtime/RichClass.scala b/src/dotnet-library/scala/runtime/RichClass.scala index 23f3c9dfe..d8ce94941 100644 --- a/src/dotnet-library/scala/runtime/RichClass.scala +++ b/src/dotnet-library/scala/runtime/RichClass.scala @@ -21,5 +21,6 @@ final class RichClass(val self: Class[_]) extends Proxy { def getClass(): RichClass = this def getName(): String = self.Name def getComponentType(): Class[_] = self.GetElementType + def isAssignableFrom(other: RichClass) = self.IsAssignableFrom(other.self) }