Skip to content

Commit

Permalink
Fix compilation under -Yexplicit-nulls
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur authored Nov 13, 2024
1 parent de4d41d commit d26d87f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class TraceNameManglingTest extends DottyTest {
}

@Test def escapeBackslashes(): Unit = {
val isWindows = sys.props("os.name").toLowerCase(Locale.ROOT).contains("windows")
val isWindows = sys.props("os.name").toLowerCase(Locale.ROOT).nn.contains("windows")
val filename = if isWindows then "/.scala" else "\\.scala"
checkTraceEvents(
"""
Expand Down

0 comments on commit d26d87f

Please sign in to comment.