diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2010-08-10 21:06:00 +0000 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2010-08-10 21:06:00 +0000 |
commit | 04c38829b6fdb03ab62ee20ebff6a56c519bb358 (patch) | |
tree | 4abc9558c8e399241b37103ef545b7861fb5c6e0 /test/files | |
parent | 001cf628f1faf8fbc9b1b67434cf2d2dc7c0b845 (diff) | |
download | scala-04c38829b6fdb03ab62ee20ebff6a56c519bb358.tar.gz scala-04c38829b6fdb03ab62ee20ebff6a56c519bb358.tar.bz2 scala-04c38829b6fdb03ab62ee20ebff6a56c519bb358.zip |
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
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/t3676.scala | 5 |
1 files changed, 5 insertions, 0 deletions
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 |