Skip to content
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: Cannot get full source code when derived from annotation #2

Open
LivInTheLookingGlass opened this issue Jun 11, 2017 · 3 comments

Comments

@LivInTheLookingGlass
Copy link
Owner

LivInTheLookingGlass commented Jun 11, 2017

When code is gotten from annotation, the last line is truncated from the source code. This means that the last line is not translated, potentially resulting in lost data. To avoid this, I would suggest adding out(Set()) to the end of your code. If this bug is ever fixed, that will result in no extra data anyways.

@LivInTheLookingGlass
Copy link
Owner Author

Scratch that. out(Set()) generates an error.

@LivInTheLookingGlass
Copy link
Owner Author

On the other hand, just out() should be fine. If I recall correctly, that will return the _ set, which in the worst case would merely repeat data.

@LivInTheLookingGlass
Copy link
Owner Author

In any case, the bug stems from uqfoundation/dill#221

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant