Commit 93019372 authored by Müller, Marco's avatar Müller, Marco
Browse files

Fixes that a wrong codeElement was set during IAL translations

parent 370d1520
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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());
			else
				codeElement = (JAVAELEMENTCLASS) priorIDRegistry
						.getCodeElementFromImplementationModelElement(priorModelElement);