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

Fix replinit after jn/world #19697

Merged
merged 1 commit into from
Dec 28, 2016
Merged

Fix replinit after jn/world #19697

merged 1 commit into from
Dec 28, 2016

Conversation

yuyichao
Copy link
Contributor

The callback needs to be run in the latest world.

@yuyichao
Copy link
Contributor Author

Also switched to using showerror to display the error instead.

@kshyatt kshyatt added the REPL Julia's REPL (Read Eval Print Loop) label Dec 23, 2016
@yuyichao
Copy link
Contributor Author

Will merge tomorrow.

The callback needs to be run in the latest world.

Also use `showerror` instead of `show` to display the error.
@vtjnash
Copy link
Member

vtjnash commented Dec 28, 2016

am hoping a better fix may be possible (https://discourse.julialang.org/t/proposal-for-a-first-class-dispatch-wrapper/1127), but this looks fine for now

@yuyichao
Copy link
Contributor Author

At least this is the one used in #17057 and we can always change it later (The uses of eval( in base/ is actually quite grep-able)

@yuyichao yuyichao merged commit ed1183b into master Dec 28, 2016
@yuyichao yuyichao deleted the yyc/replinit branch December 28, 2016 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
REPL Julia's REPL (Read Eval Print Loop)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants