summaryrefslogblamecommitdiff
path: root/test/files/pos/lub-from-hell.scala
blob: a7d2a99b088349a69d18cf99ff8e6f10481cad26 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                                                                                                                            
class Test {
  trait Tree
  def foo(b: Boolean, buf: collection.mutable.ArrayBuffer[Any], acc: StringBuilder) = if (b) buf else acc

  // def bar(b: Boolean,
  //   buf: scala.collection.IndexedSeqLike[Any,Cloneable with Mutable with Equals], 
  //   acc: scala.collection.IndexedSeqLike[_18,scala.collection.mutable.IndexedSeq[_18]] with scala.collection.IndexedSeqLike[_18,IndexedSeq[_18]] forSome { type _18 >: String with Char }
  // ) = if (b) buf else acc


}