missing thisclass
This commit is contained in:
parent
3c863aafde
commit
1100cef668
@ -49,6 +49,9 @@ public class AssignStatementExpression extends AbstractType implements IExpressi
|
||||
instVarExpression.thisClass = this.thisClass;
|
||||
leftType = left.typeCheck(methodContext, typeContext, localVars);
|
||||
}
|
||||
if(right instanceof MethodCallStatementExpression methodCallStatementExpression)
|
||||
methodCallStatementExpression.thisClass = this.thisClass;
|
||||
|
||||
TypeCheckResult rightType = right.typeCheck(methodContext, typeContext, localVars);
|
||||
|
||||
String upperbound = TypeCheckHelper.upperBound(leftType.type, rightType.type);
|
||||
|
Loading…
x
Reference in New Issue
Block a user