Skip to content

Commit d26d87f

Browse files
Fix compilation under -Yexplicit-nulls
1 parent de4d41d commit d26d87f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/test/dotty/tools/dotc/profile/TraceNameManglingTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class TraceNameManglingTest extends DottyTest {
2727
}
2828

2929
@Test def escapeBackslashes(): Unit = {
30-
val isWindows = sys.props("os.name").toLowerCase(Locale.ROOT).contains("windows")
30+
val isWindows = sys.props("os.name").toLowerCase(Locale.ROOT).nn.contains("windows")
3131
val filename = if isWindows then "/.scala" else "\\.scala"
3232
checkTraceEvents(
3333
"""

0 commit comments

Comments
 (0)