diff options
-rw-r--r-- | src/compiler/scala/tools/nsc/io/VirtualDirectory.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/io/VirtualDirectory.scala b/src/compiler/scala/tools/nsc/io/VirtualDirectory.scala index 5fa58afd35..5507ea0123 100644 --- a/src/compiler/scala/tools/nsc/io/VirtualDirectory.scala +++ b/src/compiler/scala/tools/nsc/io/VirtualDirectory.scala @@ -59,6 +59,7 @@ extends AbstractFile { val existing = lookupName(name, true) if (existing == null) { val dir = new VirtualDirectory(name, Some(this)) + files(name) = dir dir } else { existing |