Skip to content

Commit

Permalink
Fix transient genmodel for exactTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
fcoulon committed Apr 1, 2016
1 parent d3c7b6f commit e1bae07
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,18 @@ class EPackageProvider
}
m.genmodelUris.forEach[
val gm = modelUtils.loadGenmodel(it.toPlatformURI)

if (gm !== null)
genmodels.put(m.fqn, gm)
else if (m instanceof ModelType) {
]

//Create transient gemodel by default for exactTypes
if (!genmodels.containsKey(m.fqn)) {
if (m instanceof ModelType) {
if (m.isExtracted) {
genmodels.put(m.fqn, m.createTransientGenmodel)
}
}
]
}
}
}

Expand Down

0 comments on commit e1bae07

Please sign in to comment.