From 04c38829b6fdb03ab62ee20ebff6a56c519bb358 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Tue, 10 Aug 2010 21:06:00 +0000 Subject: closes #3676: cycle detection logic in BaseType... closes #3676: cycle detection logic in BaseTypeSeq's should not overwrite elements in the BTS for cycle detection as these markers may be witnessed by callbacks in mergePrefixAndArgs now using a mutable bitset to keep track of which computations are pending -- benchmarked for speed, memory consumption not checked review by odersky --- test/files/pos/t3676.scala | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/files/pos/t3676.scala (limited to 'test') diff --git a/test/files/pos/t3676.scala b/test/files/pos/t3676.scala new file mode 100644 index 0000000000..60c0ceaec8 --- /dev/null +++ b/test/files/pos/t3676.scala @@ -0,0 +1,5 @@ +trait SeqLike[+Repr] +trait Seq extends SeqLike[Seq] + +trait MySeq extends Seq with SeqLike[MySub] +trait MySub extends MySeq -- cgit v1.2.3