Conversation
|
hello @pettermahlen I think the example demonstrates what I am trying to achieve |
|
This also looks useful, could you update it so it works with #38, then I will merge it as well. |
|
@pettermahlen done. please at your convenience take another look |
|
@andyglow it turns out that merging this has led to maven compilation failing. It's because the |
|
Well. I'm not a maven guy as well. But my research revealed that it gets compiled fine if you use Java up to 11. For Java 17 we need to specify a bunch of compiler options to allow unnamed modules access jdk.compile module. I couldn't find a way to make maven conditionally (if Java version is greater then X) apply compiler options. If applied non conditionally then compilation failed for java versions less then or equal to 11. |
|
Can you build it with Java 11? |
|
I am using Java 11: |
|
can you share logs please? this is the version of java that I used to compile it |
|
The relevant bits are |
|
That was from Also, full version output from |
|
@pettermahlen i see that you merged it, so you sorted the build issues out? |
|
No, unfortunately I merged before I noticed that there was an issue. We don't seem to have CI for this project.. |
|
I see. Let me try to build with |
|
@pettermahlen did you try to build it with |
|
After a long fight with rotten bits, I managed to create and deploy a release. 1.5.0 is now out, thanks for your contributions! |
adt methods are the
defaultmethods defined at Spec (interface) that's being copied over to the base adt class.