for (ModuleReference dk : model.importedDevkits()) {
DevKit devKit = scope.getDevKit(dk);
if (devKit != null) {
for (Language l : devKit.getAllExportedLanguages()) {
if (languages.add(l)) {
<BUG>languages.addAll(l.getDependenciesManager().getAllExtendedLanguages());
</BUG>
}
}
}

for (ModuleReference dk : model.importedDevkits()) {
DevKit devKit = scope.getDevKit(dk);
if (devKit != null) {
for (Language l : devKit.getAllExportedLanguages()) {
if (languages.add(l)) {
l.getDependenciesManager().collectAllExtendedLanguages(languages);
