not sure if this a bug or a missing feature, but @Coerse does not have the expected functionality for local variables.
There is a local variable of the type ChunkRenderDispatcher$RenderChunk$RebuildTask$CompileResult. It's a package static class. So I cannot use it as a parameter. I got the suggestion to use @Coerce Object, but to their surprise this did not fix the issue.
I'm not sure if this annotation is supposed to fix it. In my case it does not work for local variables, but it works fine to get the method parameters. The example below works just fine:
Hey,
not sure if this a bug or a missing feature, but
@Coerse
does not have the expected functionality for local variables.There is a local variable of the type
ChunkRenderDispatcher$RenderChunk$RebuildTask$CompileResult
. It's a package static class. So I cannot use it as a parameter. I got the suggestion to use@Coerce Object
, but to their surprise this did not fix the issue.Code:
Error:
I'm not sure if this annotation is supposed to fix it. In my case it does not work for local variables, but it works fine to get the method parameters. The example below works just fine: