-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$L combined with ExecutableElement in ecj produces unexpected results #936
Comments
If you're not using an explicitly supported type, I believe literal output falls back to toString. That would explain the difference in compilers. |
Aha, thank you for the pointer. From the readme: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In ecj,
$L
combined with an ExecutableElement representing Supplier#get will insertpublic abstract T get()
instead ofget()
. I am not sure what the intended behavior is, but it seems to work fine with javac.I have written a workaround in derive4j for this specific case, but I am wondering if this is javapoet bug.
derive4j/derive4j#105
The text was updated successfully, but these errors were encountered: