diff options
author | Paul Phillips <paulp@improving.org> | 2009-06-12 20:48:56 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-06-12 20:48:56 +0000 |
commit | 8d8d1c314706143ef9e21978642df3315fb4a04b (patch) | |
tree | 75d40673b51168dec35537ae2ee783d470d78698 /src/dotnet-library | |
parent | b72cc0bda59df3b73afb128b24d86b0cbb1fbf43 (diff) | |
download | scala-8d8d1c314706143ef9e21978642df3315fb4a04b.tar.gz scala-8d8d1c314706143ef9e21978642df3315fb4a04b.tar.bz2 scala-8d8d1c314706143ef9e21978642df3315fb4a04b.zip |
A RichClass for the java side which offers type...
A RichClass for the java side which offers typed Constructors. Working
around bug #1560 and improving on the java interface. Also a small
experiment in the reflection department.
Diffstat (limited to 'src/dotnet-library')
-rw-r--r-- | src/dotnet-library/scala/runtime/RichClass.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotnet-library/scala/runtime/RichClass.scala b/src/dotnet-library/scala/runtime/RichClass.scala index d8ce949410..a7a781f613 100644 --- a/src/dotnet-library/scala/runtime/RichClass.scala +++ b/src/dotnet-library/scala/runtime/RichClass.scala @@ -13,8 +13,8 @@ package scala.runtime import Predef.Class -final class RichClass(val self: Class[_]) extends Proxy { - +final class RichClass(val self: Class[_]) extends Proxy +{ def isPrimitive(): Boolean = self.IsPrimitive def isArray(): Boolean = self.IsArray |