-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
HList.cons() static factory method doesn't infer tail type #2
Comments
This should be attempted again when addressing #15 |
Apparently I am Jack's complete lack of surprise. |
After Java12 comes out, I may make Java10 the required JDK version to target to use lambda, at which point, I can add this functionality back. |
Pushing this until version 5, at which point Java 11 will be the target JDK, with anything before it considered a secondary priority |
HList.cons
should be parametrized to take advantage of Generalized Target Type Inference, making the following expression infer the resulting HList type from right-hand argument:Unfortunately, after adding this behavior, compile time was observed to have exponentially increased to over 15 seconds thanks to JDK-8055984, so this behavior shouldn't be added back until it's fixed (targeted for Java 1.9).
The text was updated successfully, but these errors were encountered: