You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above code produces the following functional interfaces:
/** * Map record components into a new object */@Generated("io.soabase.recordbuilder.core.RecordBuilder")
default <R> Rmap(Function<R> proc) {
returnproc.apply(getValue(), isFlag());
}
/** * Perform an operation on record components */@Generated("io.soabase.recordbuilder.core.RecordBuilder")
defaultvoidaccept(Consumerproc) {
proc.apply(getValue(), isFlag());
}
Edit: I wasn't clear enough about why the generated code above is a bad thing. The With interface that these methods are created in does not have either of the getValue() or isFlag() methods. Which causes the build to break for the generated class.
Found this at random while poking around in the code experimenting with things. I also have a potential fix for this that I will create a PR for shortly.
The text was updated successfully, but these errors were encountered:
Using the following versions:
Minimal example to reproduce the issue:
The above code produces the following functional interfaces:
Edit: I wasn't clear enough about why the generated code above is a bad thing. The
With
interface that these methods are created in does not have either of thegetValue()
orisFlag()
methods. Which causes the build to break for the generated class.Found this at random while poking around in the code experimenting with things. I also have a potential fix for this that I will create a PR for shortly.
The text was updated successfully, but these errors were encountered: