aboutsummaryrefslogtreecommitdiff
path: root/test/dotc/scala-collections.whitelist
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-11-15 11:48:37 +0100
committerMartin Odersky <odersky@gmail.com>2015-11-17 17:53:39 +0100
commite5fcf57b1e62e420c611ed58d475d081d95f9048 (patch)
tree1a93cea5e3646036e62be3eb8a938d953a9eebcb /test/dotc/scala-collections.whitelist
parentc435a8a2e3df50f3ca41f2f9f9f9d8d22a037785 (diff)
downloaddotty-e5fcf57b1e62e420c611ed58d475d081d95f9048.tar.gz
dotty-e5fcf57b1e62e420c611ed58d475d081d95f9048.tar.bz2
dotty-e5fcf57b1e62e420c611ed58d475d081d95f9048.zip
Fix problems arising when hierarchies of classes are under completion
Fix problems arising when hierarchies of classes are under completion at the same time. In this case it can happen that we see a subclass (e.g. Arrays.scala) which depends on a superclass (e.g. GenTraversableLike.scala) that itself does not have its parents defined yet. Previously, several things went wrong here - One of the base classes would be marked as frozen, even though it dod not have all members entered yet. This led to an error in finger printing. - The baseclasses and super class bits of the subclass would be computed before the parents of the middle class were known. The baseclasses would then be chached, leading to false results for isDerivedFrom. We need to refine the logic for computing base classes, super class bits, and fingerprints to account for that issue.
Diffstat (limited to 'test/dotc/scala-collections.whitelist')
-rw-r--r--test/dotc/scala-collections.whitelist2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dotc/scala-collections.whitelist b/test/dotc/scala-collections.whitelist
index 4f3eeeed5..a5fce1020 100644
--- a/test/dotc/scala-collections.whitelist
+++ b/test/dotc/scala-collections.whitelist
@@ -140,7 +140,7 @@
# breaks genMapLike https://github.com/lampepfl/dotty/issues/937
#./scala-scala/src/library/scala/collection/GenTraversable.scala
-#./scala-scala/src/library/scala/collection/GenTraversableLike.scala
+./scala-scala/src/library/scala/collection/GenTraversableLike.scala
./scala-scala/src/library/scala/collection/GenTraversableOnce.scala
./scala-scala/src/library/scala/collection/IndexedSeq.scala