Open smillst opened 4 months ago
@agentgt The type.arguments.not.inferred
error is a bug. The error: StructuralEqualityComparer: unexpected combination:..
is also a bug, but I can't reproduce it.
@smillst happy to try to setup a small reproducible project if that helps?
@smillst happy to try to setup a small reproducible project if that helps?
For the error: StructuralEqualityComparer: unexpected combination:..
error? That would be helpful. If you do please submit it in a new issue. Thanks!
@smillst Here is the reproducible project:
https://github.com/agentgt/checker-issues
It seems there is an issue with things enclosed in a sealed
interface (even if they are not part of the hierarchy) where I have to add the witness so that checker can infer.
When I add the witness the issue goes away but not in my other project:
I will try to edit the code to see if I can get it to do the StructuralEqualityComparer
error.
I'm not really sure how to properly annotate or
suppress the warning(edit I had the suppress in the wrong place so that is why I could not suppress).EDIT when I suppress the warning I get:
Originally posted by @agentgt in https://github.com/typetools/checker-framework/issues/6629#issuecomment-2160984356