Skip to content

Commit 36300dc

Browse files
committed
Fix ShadowingTest try catch indentation
1 parent 2855693 commit 36300dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/test/dotty/tools/repl/ShadowingTests.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ object ShadowingTests:
3232
def createSubDir(name: String): Path =
3333
val subdir = dir.resolve(name)
3434
try Files.createDirectory(subdir)
35-
catch case _: java.nio.file.FileAlreadyExistsException =>
35+
catch
36+
case _: java.nio.file.FileAlreadyExistsException =>
3637
assert(Files.isDirectory(subdir), s"failed to create shadowed subdirectory $subdir")
3738
subdir
3839

0 commit comments

Comments
 (0)