mirror of
https://github.com/JonathanFleischmann/CompilerULTIMATE.git
synced 2024-12-27 07:58:04 +00:00
Made a line code better to read
This commit is contained in:
parent
d55217e85a
commit
73102c9897
@ -37,8 +37,8 @@ public class TypedBlock implements TypedNode {
|
||||
}
|
||||
|
||||
for (var stmt : unTypedBlock.stmts()) {
|
||||
if (stmt instanceof Declaration){
|
||||
vars.add(new TypedLocalVariable(typedProgram,(Declaration) stmt));
|
||||
if (stmt instanceof Declaration declaration) {
|
||||
vars.add(new TypedLocalVariable(typedProgram, declaration));
|
||||
}
|
||||
if (stmt instanceof Assignment assignment) {
|
||||
TypedAssignment typedAssignment = new TypedAssignment(typedProgram, assignment);
|
||||
|
Loading…
Reference in New Issue
Block a user