diff options
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/text/Document.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/library/scala/text/Document.scala b/src/library/scala/text/Document.scala index 6a0fca40ca..86508634e3 100644 --- a/src/library/scala/text/Document.scala +++ b/src/library/scala/text/Document.scala @@ -88,6 +88,8 @@ abstract class Document { case (i, b, DocGroup(d)) :: z => val fitsFlat = fits(width - k, (i, false, d) :: z) fmt(k, (i, !fitsFlat, d) :: z) + case _ => + () } fmt(0, (0, false, DocGroup(this)) :: Nil) |