Code Monkey home page Code Monkey logo

Comments (7)

msgilligan avatar msgilligan commented on August 19, 2024

Note: There seems to be a bug in Groovy 2.4.0 that occurs when the following lines are enabled in BitcoinCLIAPI.groovy:

@SelfType(BitcoinClient)
@CompileStatic

I've filed bug GROOVY-7275 on Groovy JIRA.

I'm also seeing two issues in the current latest IntelliJ:

  1. IntelliJ doesn't seem to recognize the @SelfType(BitcoinClient) annotation yet and as a result can't find the methods called from the superclass.
  2. IntelliJ is complaining about default parameters with the message: "Default Initializers are not allowed in abstract methods"

from omnij.

msgilligan avatar msgilligan commented on August 19, 2024

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.

from omnij.

dexX7 avatar dexX7 commented on August 19, 2024

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.

from omnij.

msgilligan avatar msgilligan commented on August 19, 2024

I need to renew my IntelliJ subscription and upgrade to the latest version. If the IntelliJ problems continue, I'll report them as bugs.

from omnij.

dexX7 avatar dexX7 commented on August 19, 2024

I'm currently using an EAP build of the v14.1 community edition, where the issue is still present.

from omnij.

dexX7 avatar dexX7 commented on August 19, 2024

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.

from omnij.

msgilligan avatar msgilligan commented on August 19, 2024

This is complete, except for completing the CLI clients. I've opened Issue #64 for that work.

from omnij.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.