-
-
Notifications
You must be signed in to change notification settings - Fork 358
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
bug: Unknown source position when using lambda in inner class #3052
Labels
Comments
Good to see you Antoine.
AFAIU, your problem is that you have an empty position?
|
Hello Martin, You are correct. In my processor, I am using the By the way, I forgot to mention but I'm using the version |
So this is a bug. Would you create a pull-request with a failing test case? Thanks! |
monperrus
changed the title
Unknown File in processor when using lambda in inner class
bug: Unknown source position when using lambda in inner class
Jul 19, 2019
aveuiller
pushed a commit
to aveuiller/spoon
that referenced
this issue
Jul 20, 2019
aveuiller
pushed a commit
to aveuiller/spoon
that referenced
this issue
Jul 20, 2019
aveuiller
pushed a commit
to aveuiller/spoon
that referenced
this issue
Jul 20, 2019
aveuiller
pushed a commit
to aveuiller/spoon
that referenced
this issue
Jul 20, 2019
aveuiller
pushed a commit
to aveuiller/spoon
that referenced
this issue
Jul 20, 2019
A reproduction of the bug is available in #3054 |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I have a quite weird behavior in my processor when analyzing this class: https://github.com/woffs/tazapp-android/blob/master/tazapp/src/main/java/de/thecode/android/tazreader/reader/usertoc/UserTocAdapter.java#L180-L191
I tracked down the bug to this minimal code sample:
Here, the class
Failing
will have a position returning(uknown file)
in my processor if the line with the lambda stays uncommented.My processor will work fine if I comment it out though.
You will find as follow the configuration of my spoon launcher:
And I will also attach the two states from my debugger.
Do you have an idea of the issue? Anything I can do about it?
Thanks in advance.
The text was updated successfully, but these errors were encountered: