-
-
Notifications
You must be signed in to change notification settings - Fork 96
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] Semicolon in juliaconsole
environment no longer suppresses output
#386
Comments
juliaconsole
environment does not suppress outputjuliaconsole
environment no longer suppresses output
I'm able to reproduce this issue and can confirm that v0.9.4 works. |
Seems like this line (which was introduced after v0.10) is the issue: Line 227 in 174585e
julia> include_string(Main, "1 + 2;")
3 |
@torfjelde thanks for tracking the problem. I introduced I feel a special casing that adds |
How about Lines 227 to 228 in 174585e
obj = include_string(mod, code, path) # TODO: fix line number
!isnothing(obj) && !REPL.ends_with_semicolon(code) && display(obj) ? |
ah sounds nice. wanna open a PR ? |
Sure thing 👍 |
will be fixed in v0.10.4 |
When using the
juliaconsole
environment from pythontex, semicolons no longer suppress outputs in Weave versions 0.10+ (v0.9.4 is the last working version).Any pointers to help track this down, I'd be happy to help get this fixed.
The text was updated successfully, but these errors were encountered: