for (SLanguage l : CollectionSequence.fromCollection(baseAndExtensions)) {
modelInternal.addLanguage(l);
Language sourceLangModule = (Language) l.getSourceModule();
if (sourceLangModule == null) {
continue;
<BUG>}
modelInternal.addModelImport(sourceLangModule.getStructureModelDescriptor().getReference(), false);
((AbstractModule) myModel.getModule()).addDependency(sourceLangModule.getModuleReference(), false);</BUG>
}
modelInternal.addDevKit(PersistenceFacade.getInstance().createModuleReference("fbc25dd2-5da4-483a-8b19-70928e1b62d7(jetbrains.mps.devkit.general-purpose)"));

for (SLanguage l : CollectionSequence.fromCollection(baseAndExtensions)) {
modelInternal.addLanguage(l);
Language sourceLangModule = (Language) l.getSourceModule();
if (sourceLangModule == null) {
continue;
}
SModel structureModel = sourceLangModule.getStructureModelDescriptor();
if (structureModel == null) {
continue;
}
modelInternal.addModelImport(structureModel.getReference(), false);
((AbstractModule) myModel.getModule()).addDependency(sourceLangModule.getModuleReference(), false);
}
modelInternal.addDevKit(PersistenceFacade.getInstance().createModuleReference("fbc25dd2-5da4-483a-8b19-70928e1b62d7(jetbrains.mps.devkit.general-purpose)"));
