ModuleDescriptor.getSubPackagesOf doesnt return su...
# compiler
p
ModuleDescriptor.getSubPackagesOf doesnt return subpackages if there is no .kt files in searched package. Is it a bug or i miss smth. Please advice me.
For example if I have such package layout:
Copy code
test
  subPkg1
  subPkg1
In this case
Copy code
module.getSubPackagesOf(FqName("test")) { true }
wil not find subPkg1 and subPkg2 But in case of such layout:
Copy code
test
  subPkg1
  subPkg1
  file.kt
Copy code
module.getSubPackagesOf(FqName("test")) { true }
will find those two subpackages