dennisog / julia-shell-mode

Emacs major mode for an interactive Julia shell.
GNU General Public License v2.0
42 stars 10 forks source link

terminal does not allow `Base.REPL.LineEditREPL` #10

Open tpapp opened 8 years ago

tpapp commented 8 years ago

Consequently, libraries that need interactive functionality won't work. Eg

Version 0.5.0-rc4

julia> using Gallium

julia> @enter 1+1
ERROR: MethodError: Cannot `convert` an object of type Base.REPL.BasicREPL to an object of type Base.REPL.LineEditREPL
This may have arisen from a call to the constructor Base.REPL.LineEditREPL(...),
since type constructors fall back to convert methods.
 in Base.REPL.REPLCompletionProvider(::Base.REPL.BasicREPL) at ./REPL.jl:287
 in RunDebugREPL(::ASTInterpreter.Interpreter) at /home/tamas/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:1575

Not sure it is possible to fix without using term or ansi-term.