Commit 93019372 authored by Marco Konersmann's avatar Marco Konersmann

Fixes that a wrong codeElement was set during IAL translations

parent 370d1520
......@@ -261,7 +261,7 @@ public abstract class AbstractModelCodeTransformation<ELEMENTECLASS extends EObj
if (priorIDRegistry != null && priorModelElement != null) {
if (this instanceof IALTransformation)
codeElement = (JAVAELEMENTCLASS) priorIDRegistry.getCodeElementFromTranslationModelElement(
((IALTransformation<?, ?>) this).getIALHolder().getFoundationalIALElement());
((IALTransformation<?, ?>) this).getIALHolder().getPriorFoundationalIALElement());
codeElement = (JAVAELEMENTCLASS) priorIDRegistry
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment