-
Notifications
You must be signed in to change notification settings - Fork 2
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
JoinPredicates don't have correct types #7
Comments
Observe the following:
Eclipse does not need the cast to work correctly, however IntelliJ does. Also, IntelliJ claims this cast is redundant, but removing it breaks the statement. This could just be an intelliJ problem. |
Regardless of IntelliJ's warning/error, does it compile in Gradle? |
We might do this to help the compiler figure out the types:
|
We might also do something like this to help advertise all of the relevant types, as long as it doesn't increase the complexity of the user-facing API.
Where each |
Also you can give types to the parameters of a lambda directly:
|
When performing a join, the predicates are typed as HgBiPredicate<Object, Object> instead of the actual types of the fields being joined on. Obviously this needs to be changed. It's likely going to be difficult to fix this problem as it will require some substantial refactorings.
The text was updated successfully, but these errors were encountered: