We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c7019c1 + 15a0dda commit 83745c6Copy full SHA for 83745c6
src/partest/scala/tools/partest/ReplTest.scala
@@ -89,7 +89,7 @@ trait Lambdaless extends ReplTest {
89
override def normalize(s: String) = stripLambdaClassName(super.normalize(s))
90
}
91
object Lambdaless {
92
- private val lambdaless = """\$Lambda\$\d+/(?:0x[a-f0-9]{16}|\d+)(@[a-fA-F0-9]+)?""".r
+ private val lambdaless = """\$Lambda(?:\$\d+)?/(?:0x[a-f0-9]{16}|\d+)(?:@[a-fA-F0-9]+)?""".r
93
private def stripLambdaClassName(s: String): String = lambdaless.replaceAllIn(s, Regex.quoteReplacement("<function>"))
94
95
0 commit comments