CollinAlpert/Lombok.NET

Methods created by [Async] "does not implement" interface methods.

Aytackydln opened this issue · 3 comments

[Async] annotation doesn't pass build check for abstract methods.
Also, build only fails if you compile from scratch. Incremental build mostly works fine until it doesn't anymore.

image
image

That's weird, I can't reproduce the issue, even on a complete rebuild. I've checked the code and everything should work. Can you click the button I have circled in the build window and check if the source generator throws any exception?

image

Any exceptions would show up as warnings during a failed build. Even better would be if you could paste the entire build output.

Another thing you could try is setting <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> in your .csproj file and then checking the obj/Debug/net7.0/generated/Lombok.NET/Lombok.NET.MethodGenerators.AsyncGenerator folder and looking at what gets generated.

I had this 2 times but can't reproduce now. I will let you know if this happens again

Okay, feel free to reopen when you can reliably reproduce it.