-
Notifications
You must be signed in to change notification settings - Fork 89
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
Use Groovy traits to better separate Omni RPCs from Bitcoin RPCs #29
Comments
Note: There seems to be a bug in Groovy 2.4.0 that occurs when the following lines are enabled in
I've filed bug GROOVY-7275 on Groovy JIRA. I'm also seeing two issues in the current latest IntelliJ:
|
Groovy bug GROOVY-7275 is fixed in Groovy 2.4.1 and bitcoin-spock has been updated, so it may be time to try this again. Although I'm thinking that it might be better if the "CLI" clients just warp the standard Java clients, rather than extend them, so traits may be less necessary. |
That's great to hear. Point 2 seems to be an issue of IntelliJ, and using default values appears to work just fine, despite the error tag. Given there are quite a few methods that could be reduced and merged by using defaults, even though the error is a bit distracting. |
I need to renew my IntelliJ subscription and upgrade to the latest version. If the IntelliJ problems continue, I'll report them as bugs. |
I'm currently using an EAP build of the v14.1 community edition, where the issue is still present. |
I noticed in the latest EAP release notes "Good Groovy code red - traits with Generic" (IDEA-134978), however the issue related to default initializer values ("Default Initializers are not allowed in abstract methods") is still unfixed. |
This is complete, except for completing the CLI clients. I've opened Issue #64 for that work. |
See the work in the branch msgilligan-cliapi-traits
The text was updated successfully, but these errors were encountered: