diff options
Diffstat (limited to 'test/files/pos/lub-from-hell.scala')
-rw-r--r-- | test/files/pos/lub-from-hell.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/pos/lub-from-hell.scala b/test/files/pos/lub-from-hell.scala new file mode 100644 index 0000000000..a7d2a99b08 --- /dev/null +++ b/test/files/pos/lub-from-hell.scala @@ -0,0 +1,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 + + +} |