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

Problem with output of "missing"? #143

Closed
dojt opened this issue Feb 3, 2024 · 2 comments
Closed

Problem with output of "missing"? #143

dojt opened this issue Feb 3, 2024 · 2 comments

Comments

@dojt
Copy link

dojt commented Feb 3, 2024

Is it possible that producing the output "missing" via C-c C-l or C-c C-r doesn't work? The following is displayed in the *julia* error buffer:

TypeError: non-boolean (Missing) used in boolean context

format(obj::Missing, width::Int64, height::Int64) at JuliaSnail.jl:148
eval_tmpfile(tmpfile::String, modpath::Vector{Symbol}, realfile::String, linenum::Int64, popup_params::Main.JuliaSnail.PopupDisplay.Params) at JuliaSnail.jl:265
top-level scope at none:1
eval at boot.jl:385 [inlined]
eval_in_module(fully_qualified_module_name::Vector{Symbol}, expr::Expr) at JuliaSnail.jl:226
(::Main.JuliaSnail.var"#30#36"{Sockets.TCPSocket})() at JuliaSnail.jl:913

What I did to produce that was to load a file containing nothing else but the word "missing" (plus newline), start julia-snail-mode, open the *julia* buffer with C-c C-z and then hit C-c C-l on the line with the word "missing".

My Julia Snail version:

  • 20240201.637

My Emacs:

  • GNU Emacs 29.2 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6.6 (Build 21G646)) of 2024-01-18
@gcv
Copy link
Owner

gcv commented Feb 6, 2024

Should be fixed in ce6994a. It's in MELPA now. Please let me know if it works for you.

@gcv
Copy link
Owner

gcv commented Feb 27, 2024

Please reopen if this is still a problem.

@gcv gcv closed this as completed Feb 27, 2024
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

No branches or pull requests

2 participants