Skip to content

Commit

Permalink
feat(objectionary#344): add type for 'StoreArray' node
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Aug 5, 2024
1 parent 3a558de commit 31f705e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/eolang/opeo/ast/StoreArray.java
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,6 @@ public List<AstNode> opcodes() {

@Override
public Type type() {
return Type.VOID_TYPE;
return Typed.class.cast(this.array).type();
}
}

0 comments on commit 31f705e

Please sign in to comment.