From 80acc2d331cf8359c00d9a15c8cc10d537be503a Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Wed, 12 Feb 2014 18:07:36 +0100 Subject: Some changes in the interest of speedups. --- src/dotty/tools/dotc/core/pickling/ClassfileParser.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/dotty/tools/dotc/core/pickling/ClassfileParser.scala') diff --git a/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala b/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala index 0fc661842..1395b4f43 100644 --- a/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala +++ b/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala @@ -239,13 +239,13 @@ class ClassfileParser( case BOOL_TAG => defn.BooleanType case 'L' => def processInner(tp: Type): Type = tp match { - case tp @ TypeRef(pre, name) if !(tp.symbol.owner is Flags.ModuleClass) => - TypeRef(processInner(pre.widen), name) + case tp: TypeRef if !(tp.symbol.owner is Flags.ModuleClass) => + TypeRef(processInner(tp.prefix.widen), tp.name) case _ => tp } def processClassType(tp: Type): Type = tp match { - case tp @ TypeRef(pre, name) => + case tp: TypeRef => if (sig(index) == '<') { accept('<') var tp1: Type = tp -- cgit v1.2.3