Review done. Please review the following changes to fix the above
problem, and re-assign to me.
org.fortiss.tooling.kernel.utils.ResourceUtils: now YELLOW
In mira.ecore, I had to remove the
org.fortiss.af3.project.model.typesystem.IFunctionScope interface
from org.fortiss.af3.mira.model.Analysis. Now RED (as before)
We have to check that this branch fixes the following error when loading
the ACC model:
!ENTRY org.eclipse.core.jobs 4 2 2019-12-20 16:19:09.860!MESSAGE An internal error occurred during: "Model Constraint Checker Job".!STACK 0java.lang.UnsupportedOperationException at org.fortiss.af3.mira.model.impl.AnalysisImpl.getDefinitionElement(AnalysisImpl.java:555) at org.fortiss.af3.project.utils.FunctionScopeUtils.getFunctionDefinition(FunctionScopeUtils.java:55) at org.fortiss.af3.expression.language.TypeChecker.typecheckUserdefinedFunction(TypeChecker.java:308) at org.fortiss.af3.expression.language.TypeChecker.typecheckExpression(TypeChecker.java:165) at org.fortiss.af3.expression.language.TypeChecker.typecheck(TypeChecker.java:93) at org.fortiss.af3.component.constraint.ComponentConstraintChecker.performTypeCheck(ComponentConstraintChecker.java:105) at org.fortiss.af3.component.constraint.ComponentConstraintChecker.performPortCheck(ComponentConstraintChecker.java:86) at org.fortiss.af3.component.constraint.ComponentConstraintChecker.collectViolations(ComponentConstraintChecker.java:57) at org.fortiss.af3.component.constraint.ComponentConstraintChecker.collectViolations(ComponentConstraintChecker.java:1) at org.fortiss.tooling.kernel.extension.base.MultiViolationConstraintCheckerBase.apply(MultiViolationConstraintCheckerBase.java:44) at org.fortiss.tooling.kernel.internal.ConstraintCheckerService.performConstraintCheck(ConstraintCheckerService.java:125) at org.fortiss.tooling.kernel.internal.ConstraintCheckerService.performAllConstraintChecksRecursively(ConstraintCheckerService.java:94) at org.fortiss.tooling.kernel.ui.internal.MarkerService.refreshMarkers(MarkerService.java:196) at org.fortiss.tooling.kernel.ui.internal.MarkerService$2.run(MarkerService.java:115) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)