diff options
Diffstat (limited to 'sources/scala/tools/nsc/symtab/classfile/UnPickler.scala')
-rwxr-xr-x | sources/scala/tools/nsc/symtab/classfile/UnPickler.scala | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sources/scala/tools/nsc/symtab/classfile/UnPickler.scala b/sources/scala/tools/nsc/symtab/classfile/UnPickler.scala index 0716920b13..3205cb00c1 100755 --- a/sources/scala/tools/nsc/symtab/classfile/UnPickler.scala +++ b/sources/scala/tools/nsc/symtab/classfile/UnPickler.scala @@ -177,7 +177,12 @@ abstract class UnPickler { TypeBounds(readTypeRef(), readTypeRef()) case REFINEDtpe => val clazz = readSymbolRef(); - new RefinedType(until(end, readTypeRef), symScope(clazz)) { override def symbol = clazz } + val ps = until(end, readTypeRef); + val dcls = symScope(clazz); + new RefinedType(ps, dcls) { override def symbol = clazz } +/* //todo replace with but need to rethink initialization first + new RefinedType(until(end, readTypeRef), )) { override def symbol = clazz } +*/ case CLASSINFOtpe => val clazz = readSymbolRef(); ClassInfoType(until(end, readTypeRef), symScope(clazz), clazz) |