db6a7779b8
Fixes CompileKotlinAgainstCustomBinariesTest.testInternalFromForeignModule after unifying non-build-file mode and build-file mode. Previously when the compiler was run without -Xbuild-file argument, it was not using modules internally, so we were not checking if internal descriptors were contained in destination dir of current module (without -Xbuild-file we were returning false at `if (modules.isEmpty()) return false` in `ModuleVisibilityHelperImpl#isInFriendModule`). After switching to using modules for CLI compilation, any jar file contained in destination dir was considered friend, because only a prefix was checked.