mirror of
https://github.com/JonathanFleischmann/CompilerULTIMATE.git
synced 2024-12-27 08:18:03 +00:00
add typecheck
This commit is contained in:
parent
34efc2847b
commit
a3d7c1da7e
@ -27,6 +27,7 @@ public class TypedAssignment implements TypedStatement {
|
||||
public void convertToTypedAssignment(TypedClass clas, Assignment untyped) {
|
||||
value = convertExpression(clas, untyped.value());
|
||||
location = new TypedFieldVarAccess(clas, untyped.location());
|
||||
location.typeCheck(clas);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user