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 2855693 commit 36300dcCopy full SHA for 36300dc
compiler/test/dotty/tools/repl/ShadowingTests.scala
@@ -32,7 +32,8 @@ object ShadowingTests:
32
def createSubDir(name: String): Path =
33
val subdir = dir.resolve(name)
34
try Files.createDirectory(subdir)
35
- catch case _: java.nio.file.FileAlreadyExistsException =>
+ catch
36
+ case _: java.nio.file.FileAlreadyExistsException =>
37
assert(Files.isDirectory(subdir), s"failed to create shadowed subdirectory $subdir")
38
subdir
39
0 commit comments