summaryrefslogtreecommitdiff
path: root/test/files/pos/lub-from-hell.scala
blob: cb4b1733c7c9fd201390e083f887e22c4e3c3d41 (plain) (blame)
1
2
3
4
5
6
class Test {
  trait Tree
  def foo(b: Boolean, buf: collection.mutable.ArrayBuffer[Any], acc: StringBuilder) = if (b) buf else acc
}
// This test case minimizes a case that failed to compile due to a bug in my work on
// SI-5294. After refining my patches, it compiles again, as expected.