diff options
author | Lukas Rytz <lukas.rytz@epfl.ch> | 2010-03-15 10:25:34 +0000 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@epfl.ch> | 2010-03-15 10:25:34 +0000 |
commit | cc1a2efec3c0826703a819df4f5856c68a0caea4 (patch) | |
tree | 7b77bd0c7442419c449bd61d070df1a7e4da85d0 /src | |
parent | 746f8ddcc798072673044d8b9edc9f9ac48b3171 (diff) | |
download | scala-cc1a2efec3c0826703a819df4f5856c68a0caea4.tar.gz scala-cc1a2efec3c0826703a819df4f5856c68a0caea4.tar.bz2 scala-cc1a2efec3c0826703a819df4f5856c68a0caea4.zip |
Fix for msil compiler.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/Definitions.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/Definitions.scala b/src/compiler/scala/tools/nsc/symtab/Definitions.scala index a068e93db0..08a7227a7f 100644 --- a/src/compiler/scala/tools/nsc/symtab/Definitions.scala +++ b/src/compiler/scala/tools/nsc/symtab/Definitions.scala @@ -349,7 +349,7 @@ trait Definitions extends reflect.generic.StandardDefinitions { def arrayType(arg: Type) = typeRef(ArrayClass.typeConstructor.prefix, ArrayClass, List(arg)) def ClassType(arg: Type) = - if (phase.erasedTypes) ClassClass.tpe + if (phase.erasedTypes || forMSIL) ClassClass.tpe else appliedType(ClassClass.tpe, List(arg)) // |