GithubHelp home page GithubHelp logo

Comments (16)

rsmckinney avatar rsmckinney commented on August 19, 2024 3

Your gradle.build.kts file is missing the vital "-Xplugin:Manifold" compiler argument. See setup docs.

image

from manifold-ij.

rsmckinney avatar rsmckinney commented on August 19, 2024 1

Sorry about that,fix coming in tomorrows plugin release.

from manifold-ij.

rsmckinney avatar rsmckinney commented on August 19, 2024 1

it looks like records with @link are still unsupported (manifold-systems/manifold#587),

The plugin release scheduled for Monday was delayed due to a couple of other issues that have surfaced. The release will be available by EOD tomorrow. Thanks for your patience.

from manifold-ij.

ice1000 avatar ice1000 commented on August 19, 2024 1

I'll try to figure out later. I'm in a meeting right now.

from manifold-ij.

ice1000 avatar ice1000 commented on August 19, 2024 1

Your gradle.build.kts file is missing the vital "-Xplugin:Manifold" compiler argument. See setup docs.

image

!!!!!!!!!!!!! Thank you!!!

from manifold-ij.

ice1000 avatar ice1000 commented on August 19, 2024

Sorry about that,fix coming in tomorrows plugin release.

No worries! Btw, it looks like records with @link are still unsupported (manifold-systems/manifold#587), I tried to use gradle to compile, and it gives me errors about methods being unimplemented. Should I file an issue, or should I wait for a release?

from manifold-ij.

ice1000 avatar ice1000 commented on August 19, 2024

No worries! I was just curious.

from manifold-ij.

rsmckinney avatar rsmckinney commented on August 19, 2024

Regarding Java string interpolation not working, I'm not seeing that. It works for me with plugin release 2024.1.0 using JDK 21 Preview, also works with JDK 22 Preview.

from manifold-ij.

ice1000 avatar ice1000 commented on August 19, 2024

The plugin release scheduled for Monday was delayed due to a couple of other issues that have surfaced.

In the issue, you mentioned it already works, but the intellij plugin needs to be updated. However, compilation also does not work for me.

Do you need MWE? I'll try to come up with one later

from manifold-ij.

rsmckinney avatar rsmckinney commented on August 19, 2024

compilation also does not work

It should work... What happens if you test a simple example?

  System.out.println(new MyRecord("hi").charAt(0));

  record MyRecord(@link CharSequence cs) implements CharSequence {
  }

from manifold-ij.

ice1000 avatar ice1000 commented on August 19, 2024

Error production: https://github.com/ice1k/manifold-java-bug-report/actions/runs/9089055436/job/24979607037#step:4:50

Code that produces the error: https://github.com/ice1k/manifold-java-bug-report/blob/main/src/main/java/Main.java#L3-L9

from manifold-ij.

ice1000 avatar ice1000 commented on August 19, 2024

I've updated the code to use CharSequence and it still reproduces the error

from manifold-ij.

rsmckinney avatar rsmckinney commented on August 19, 2024

It all works for me. Is your project available or can your provide your build files? I just need a way to reproduce your environment so I can reproduce this. If you have a simple sample project that would be even better. Thanks.

from manifold-ij.

ice1000 avatar ice1000 commented on August 19, 2024

It all works for me. Is your project available or can your provide your build files? I just need a way to reproduce your environment so I can reproduce this. If you have a simple sample project that would be even better. Thanks.

The links above belong to a minimal gradle project, you can checkout and reproduce the error by using ./gradlew classes

from manifold-ij.

ice1000 avatar ice1000 commented on August 19, 2024

The code is here: https://github.com/ice1k/manifold-java-bug-report

from manifold-ij.

ice1000 avatar ice1000 commented on August 19, 2024

The link I gave you earlier is the execution log of a continuous-integration system that is nowadays very popular called GitHub Actions. The code that used to generate that log can be found in the .github/workflows folder of the repository.

from manifold-ij.

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.