summaryrefslogtreecommitdiff
path: root/test/files/pos/t4716.scala
blob: ec29e8d2cbf3e0d9323d47d4a35113acd3326414 (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
  }
}