mirror of
https://github.com/JonathanFleischmann/CompilerULTIMATE.git
synced 2024-12-27 09:08:04 +00:00
Retrieve typeCheck in TypedAssignment
This commit is contained in:
parent
f1b366e157
commit
4aa2a52480
@ -25,6 +25,7 @@ public class TypedAssignment implements TypedStatement {
|
||||
public void convertToTypedAssignment(TypedProgram typedProgram, Assignment untyped) {
|
||||
value = convertExpression(typedProgram, untyped.value());
|
||||
location = new TypedFieldVarAccess(typedProgram, untyped.location());
|
||||
location.typeCheck(typedProgram);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user