You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When writing a class that implements java.util.Map while using manifold-ext, IDEA's linter requires that I override ICallHandler#call since it does not have a default implementation in the interface.
To Reproduce
Steps to reproduce the behavior:
Make a class that implements Map
The IDE will display a red line under the class declaration saying that you need to implement call.
Expected behavior
As ICallHandler doesn't actually exist on the Map type, it shouldn't be required to be implemented on a custom map.
Desktop (please complete the following information):
OS Type & Version: OSX 12.7.6
Java/JDK version: 17
IDE version (IntelliJ IDEA or Android Studio): IDEA 2024.1.7
Manifold version: manifold-delegation:2024.1.38
Manifold IntelliJ plugin version: 2024.1.13
The text was updated successfully, but these errors were encountered:
Thanks for reporting this. What I see in IntelliJ is this is only an issue when you generate the implementation via Implement methods quick fix, it automatically selects the call() method for implementation, if you unselect it, all is well. I am looking into why IJ is doing this since, internally, call() is modeled as a default interface method.
Describe the bug
When writing a class that implements
java.util.Map
while usingmanifold-ext
, IDEA's linter requires that I overrideICallHandler#call
since it does not have a default implementation in the interface.To Reproduce
Steps to reproduce the behavior:
Map
call
.Expected behavior
As
ICallHandler
doesn't actually exist on theMap
type, it shouldn't be required to be implemented on a custom map.Desktop (please complete the following information):
manifold-delegation:2024.1.38
The text was updated successfully, but these errors were encountered: