summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2016-12-14 08:35:49 +1000
committerJason Zaugg <jzaugg@gmail.com>2016-12-14 09:34:28 +1000
commit64a0ec47092a1310e746b401837c61cefc591faa (patch)
tree6d36154928da33a7698d0e05432af7d68133e033 /README.md
parent4c0a9f13e4c2d1669571d76645e180f60307f70f (diff)
downloadscala-64a0ec47092a1310e746b401837c61cefc591faa.tar.gz
scala-64a0ec47092a1310e746b401837c61cefc591faa.tar.bz2
scala-64a0ec47092a1310e746b401837c61cefc591faa.zip
Modules w. serializable type alias "companions" are not serializable
The behaviour changed in #5550, this commit adapts to the change so that we'll be binary compatible after boostrapping. MiMa alerted us to a change in the parentage of two objects in the forkjoin package object. In Scala 2.12.0/1, they implemented `scala.Serializable`. Recently, this (synthetically added) parent was absent. This appears to be due to a bug fix in `companionSymbolOf`, which no longer treats objects and same-named type aliases to be companions. This commit manually adds the formerly-synthetic parents to these objects, and documents the change in compiler behaviour with a test. Fixes scala/scala-dev#290
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions