Skip to content

Fix replinit after jn/world#19697

Merged
yuyichao merged 1 commit intomasterfrom
yyc/replinit
Dec 28, 2016
Merged

Fix replinit after jn/world#19697
yuyichao merged 1 commit intomasterfrom
yyc/replinit

Conversation

@yuyichao
Copy link
Copy Markdown
Contributor

The callback needs to be run in the latest world.

@yuyichao
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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