-
Notifications
You must be signed in to change notification settings - Fork 17
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
Missing decorated functions whose decorators simply return the function #190
Comments
If I put the fix back, we get:
|
Something looks to be wrong with instruction 105. When there's an embedded function, I am seeing the variable point to it. Otherwise, it's blank. |
The crux of the problem is that this is the decorator:
Here's the call to the decorator:
We don't pass it anything until later:
But we have this:
But we do have this:
If the decorator returned itself ( |
This works in Jython 2, probably because decorators are not supported and consequently ignored there. |
Description
Related to #189.
Consider the following code:
The function
raffi()
is missing from the CG.Regression
Reverting 2a6e522 fixes the problem.
When there's no inner function in the decorator, somehow, visiting entire decorator doesn't work. Visiting just the internal decorator (the child) works. It would seem that the decorator is missing from the PA:
The text was updated successfully, but these errors were encountered: