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

Avoid anonymous eval #104

Closed
wants to merge 1 commit into from

Conversation

casperisfine
Copy link

It makes it hard to locate code when profiling and such.

It makes it hard to locate code when profiling and such.
@flash-gordon
Copy link
Member

I thought about this but it's not particularly helpful. Stacktraces will have misleading line numbers since code there is not a literal. It can make debugging even harder!

@casperisfine
Copy link
Author

You can put an arbitrary string if you think the current path is misleading. That will always be better than the default "(eval)".

@flash-gordon
Copy link
Member

Yeah, I agree this is a good idea. I'll come up with something, thank you

@casperisfine
Copy link
Author

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

3 participants