manifold-systems / manifold

Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.
http://manifold.systems/
Apache License 2.0
2.43k stars 125 forks source link

IDEA 2023.3 error #534

Closed zcfire2017 closed 11 months ago

zcfire2017 commented 11 months ago

image image image

After upgrading the idea to version 2023.3, the extension method started to report errors and could run, but the code prompt did not appear. The error was also displayed in the code, and the plugin version was the latest

zcfire2017 commented 11 months ago

image

Error: Unable to find class ZLinq

image

rsmckinney commented 11 months ago

Hi @zcfire2017. Have you tried closing and reopening the project? If the error persists, is there a way I can reproduce this error? For instance, is your project available for cloning? Thanks

zcfire2017 commented 11 months ago

Hi @zcfire2017. Have you tried closing and reopening the project? If the error persists, is there a way I can reproduce this error? For instance, is your project available for cloning? Thanks

The project has been restarted, the computer has also been restarted, and the manifest has been reinstalled, but none of them worked. The key is that my colleague's side is good, which is very strange. As long as the expansion method returns a custom class, I will report an error, but it can still be successfully generated

zcfire2017 commented 11 months ago

@rsmckinney image image

清除缓存后就好了!真的太坑人了!找了一下午的bug

rsmckinney commented 11 months ago

Sometimes the IJ cache can become corrupt, have you tried invalidating caches?

zcfire2017 commented 11 months ago

Sometimes the IJ cache can become corrupt, have you tried invalidating caches?

Yes, I just need to clear the cache and it will be fine

rsmckinney commented 11 months ago

Hi @zcfire2017. I'll close this issue if everything has cleared up on your end. Okay?