Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InterfaceInvocation.java:48-65: Interface Invocation Type... #366

Open
0pdd opened this issue Aug 6, 2024 · 0 comments
Open

InterfaceInvocation.java:48-65: Interface Invocation Type... #366

0pdd opened this issue Aug 6, 2024 · 0 comments

Comments

@0pdd
Copy link

0pdd commented Aug 6, 2024

The puzzle 344-12d10f3d from #344 has to be resolved:

* @todo #344:90min Interface Invocation Type Inference
* We used to infer 'owner' of a interface method invocation from the {@link #source}.
* However it led to failed tests.
* <p> Here is how we did it:
* {@code
* final Typed owner = (Typed) this.source;
* res.add(
* new Opcode(
* Opcodes.INVOKEINTERFACE,
* owner.type().getClassName().replace('.', '/'),
* this.attrs.name(),
* this.attrs.descriptor(),
* this.attrs.interfaced()
* )
* );
* }
* </p>
* We should use the similar approach, but we also have to ensure that all the tests pass.

The puzzle was created by volodya-lombrozo on 06-Aug-24.

Estimate: 90 minutes, role: DEV.

If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant