diff options
author | Paul Phillips <paulp@improving.org> | 2009-05-08 02:30:47 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-05-08 02:30:47 +0000 |
commit | 5671456e84381a463418e564bb6b71f160649dbb (patch) | |
tree | 9e9be64cdf387676db6666b2b69f7512088eb229 /src/dotnet-library | |
parent | 8155f5e712b80a3136c4e08362b8d85b1ef52d60 (diff) | |
download | scala-5671456e84381a463418e564bb6b71f160649dbb.tar.gz scala-5671456e84381a463418e564bb6b71f160649dbb.tar.bz2 scala-5671456e84381a463418e564bb6b71f160649dbb.zip |
epic MSIL hacking - Array compiles.
Diffstat (limited to 'src/dotnet-library')
-rw-r--r-- | src/dotnet-library/scala/runtime/RichClass.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dotnet-library/scala/runtime/RichClass.scala b/src/dotnet-library/scala/runtime/RichClass.scala index 23f3c9dfe2..d8ce949410 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) } |