From 70b49e9a4be3218db4c136f1386846555e1a0cce Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Mon, 7 Sep 2015 01:45:39 -0400 Subject: [PATCH] Comment on SI-8450 --- internal/util-logging/src/test/scala/Escapes.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/util-logging/src/test/scala/Escapes.scala b/internal/util-logging/src/test/scala/Escapes.scala index 153a5da56..9078f4d59 100644 --- a/internal/util-logging/src/test/scala/Escapes.scala +++ b/internal/util-logging/src/test/scala/Escapes.scala @@ -61,6 +61,7 @@ object Escapes extends Properties("Escapes") { final case class EscapeAndNot(escape: EscapeSequence, notEscape: String) { override def toString = s"EscapeAntNot(escape = [$escape], notEscape = [${notEscape.map(_.toInt)}])" } + // 2.10.5 warns on "implicit numeric widening" but it looks like a bug: https://issues.scala-lang.org/browse/SI-8450 final case class EscapeSequence(content: String, terminator: Char) { if (!content.isEmpty) { assert(content.tail.forall(c => !isEscapeTerminator(c)), "Escape sequence content contains an escape terminator: '" + content + "'")