Comments (16)
Your gradle.build.kts file is missing the vital "-Xplugin:Manifold" compiler argument. See setup docs.
from manifold-ij.
Sorry about that,fix coming in tomorrows plugin release.
from manifold-ij.
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.
I'll try to figure out later. I'm in a meeting right now.
from manifold-ij.
Your gradle.build.kts file is missing the vital "-Xplugin:Manifold" compiler argument. See setup docs.
!!!!!!!!!!!!! Thank you!!!
from manifold-ij.
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.
No worries! I was just curious.
from manifold-ij.
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.
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.
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.
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.
I've updated the code to use CharSequence
and it still reproduces the error
from manifold-ij.
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.
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.
The code is here: https://github.com/ice1k/manifold-java-bug-report
from manifold-ij.
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)
- IntelliJ freezes on "Gradle: Importing maven repository data" after sync HOT 2
- 'Method is never used ' when using Manifold Properties (Property inference) HOT 1
- Extensions don't seems to handle annotations for parameters correctly HOT 2
- Evaluate values in debug mode doesn't work for extensions, properties,... HOT 2
- [Bug] Sonarlint complains about unused assignment/local variables when using string interpolation HOT 2
- [Feature]Operator Overloading go to declaration
- `when` clause not working with JDK 21 HOT 3
- Java 23 language features HOT 3
- Incompatible with platform 242 HOT 8
- Illegal string escape HOT 8
- Errors using plugin version 2024.1.2 with IJ version 2024.1.x HOT 1
- [bug] 2024.1.2 doesn't work together with Lombok. HOT 3
- AssertionError HOT 5
- Warning when Synchronize on @val property
- Find usages of a property not possible when normal getter/setters are used.
- Abstract property not being marked as used
- Object only used in String template is marked as unused HOT 7
- Using manifold-sql and the manifold plugin causes IntelliJ to constantly open database connections. HOT 9
- SQL statements that use a table that doesn't exist in the database cause IJ's CPU usage to be high. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from manifold-ij.