slisson / shadowmodels

Incremental model transformations for JetBrains MPS
2 stars 0 forks source link

Dependencies in case of a exceptions during evaluation in the IncrementalEngine #148

Closed slisson closed 5 years ago

slisson commented 5 years ago

An exception in IncrementalEngine.evaluate will prevent the storage of a cache entry, but all dependencies are recorded for that entry. If the caller catches that exception (#147), a cache entry is created for him. The dependencies of the failed evaluation are lost. In case of a success they are transitive dependencies, but in case of an exception they need to become direct dependencies.