summaryrefslogtreecommitdiff
path: root/test/files/pos/t4716.scala
blob: d4bd55c55bbfa553ba05c26de809b9f27f245578 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
trait Bug2[@specialized(Int) +A] extends TraversableOnce[A] {  
  def ++[B >: A](that: TraversableOnce[B]) = {
    lazy val it = that.toIterator
    it
  }
}