Compare commits

...

2 Commits

Author SHA1 Message Date
Krauß, Josefine
4b2edaa6ff Merge remote-tracking branch 'origin/master' 2024-06-30 13:39:32 +02:00
Krauß, Josefine
dd2842138f missing case in methodcall 2024-06-30 13:39:20 +02:00

View File

@ -56,6 +56,8 @@ public class MethodCallStatementExpression extends AbstractType implements IExpr
receiver.instVarExpression.thisClass = typeOfSubreceiver;
receiver.instVarExpression.typeCheck(methodContext, typeContext, localVars);
currentType = typeContext.get(typeOfSubreceiver).get(mostLeftField);
} else {
currentType = thisClass;
}
} else {
currentType = thisClass;