diff options
Diffstat (limited to 'src/compiler/scala/reflect/internal/pickling/UnPickler.scala')
-rw-r--r-- | src/compiler/scala/reflect/internal/pickling/UnPickler.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/reflect/internal/pickling/UnPickler.scala b/src/compiler/scala/reflect/internal/pickling/UnPickler.scala index bfccdd3988..757163a074 100644 --- a/src/compiler/scala/reflect/internal/pickling/UnPickler.scala +++ b/src/compiler/scala/reflect/internal/pickling/UnPickler.scala @@ -358,7 +358,7 @@ abstract class UnPickler /*extends reflect.generic.UnPickler*/ { case POLYtpe => val restpe = readTypeRef() val typeParams = until(end, readSymbolRef) - if(typeParams nonEmpty) { + if (typeParams.nonEmpty) { // NMT_TRANSITION: old class files denoted a polymorphic nullary method as PolyType(tps, restpe), we now require PolyType(tps, NullaryMethodType(restpe)) // when a type of kind * is expected (forceProperType is true), we know restpe should be wrapped in a NullaryMethodType (if it wasn't suitably wrapped yet) def transitionNMT(restpe: Type) = { |