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.
1 parent d7fb8bf commit a670518Copy full SHA for a670518
compiler/test/dotty/tools/repl/ShadowingTests.scala
@@ -32,9 +32,8 @@ object ShadowingTests:
32
def createSubDir(name: String): Path =
33
val subdir = dir.resolve(name)
34
try Files.createDirectory(subdir)
35
- catch
36
- case _: java.nio.file.FileAlreadyExistsException =>
37
- assert(Files.isDirectory(subdir), s"failed to create shadowed subdirectory $subdir")
+ catch case _: java.nio.file.FileAlreadyExistsException =>
+ assert(Files.isDirectory(subdir), s"failed to create shadowed subdirectory $subdir")
38
subdir
39
40
// The directory on the classpath containing artifacts to be shadowed
0 commit comments