File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
src/library/scala/reflect/generic Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,8 @@ object ModifierFlags extends ModifierFlags
100100
101101 private final val PKL_MASK = 0x00000FFF
102102
103- final val PickledFlags : Long = 0xFFFFFFFFL
103+ // must pickle EXISTENTIAL for SI-6692
104+ final val PickledFlags : Long = 0x8FFFFFFFFL
104105
105106 private def rawPickledCorrespondence = Array (
106107 (IMPLICIT , IMPLICIT_PKL ),
Original file line number Diff line number Diff line change @@ -396,10 +396,7 @@ abstract class UnPickler {
396396 NullaryMethodType (restpe)
397397 case EXISTENTIALtpe =>
398398 val restpe = readTypeRef()
399- val tparams = until(end, readSymbolRef)
400- // binary compatibility: in 2.9.x, Symbol doesn't have setFlag
401- tparams foreach (x => x.asInstanceOf [{ def setFlag (mask : Long ): this .type }] setFlag EXISTENTIAL )
402- ExistentialType (tparams, restpe)
399+ ExistentialType (until(end, readSymbolRef), restpe)
403400 case ANNOTATEDtpe =>
404401 var typeRef = readNat()
405402 val selfsym = if (isSymbolRef(typeRef)) {
You can’t perform that action at this time.
0 commit comments