diff --git a/src/main/java/org/eolang/opeo/ast/Invocation.java b/src/main/java/org/eolang/opeo/ast/Invocation.java index 2330d610..99e1bfc8 100644 --- a/src/main/java/org/eolang/opeo/ast/Invocation.java +++ b/src/main/java/org/eolang/opeo/ast/Invocation.java @@ -115,11 +115,8 @@ public Iterable toXmir() { @Override public List opcodes() { - //@checkstyle MethodBodyCommentsCheck (10 lines) - // @todo #76:90min Implement and test invocation opcodes compilation. - // Current implementation is dummy and is used only to pass integration tests. - // We need to implement and test invocation opcodes compilation. final List res = new ArrayList<>(0); + res.addAll(this.source.opcodes()); this.arguments.stream().map(AstNode::opcodes).forEach(res::addAll); res.add(new Opcode(Opcodes.INVOKEVIRTUAL, "V", this.method, "V()")); return res;