tpapp / julia-repl

Run an inferior Julia REPL in a terminal inside Emacs
Other
171 stars 35 forks source link

premature end of input when sending multiline functions #14

Closed tpapp closed 6 years ago

tpapp commented 6 years ago

Sending the region containing the following with C-c C-c

function f()

    1
end

gives

julia> function f()

ERROR: syntax: incomplete: premature end of input

Reproduced on Julia versions v"0.7.0-DEV.2429" and v0.6.

tpapp commented 6 years ago

Fixed by e84155fb205a9c2fb4c87895596ed117913a6282.