When I use the following code
server = LanguageServerInstance(stdin, stdout, true, "/home/ossifragus/.julia/environments/v1.4", "", Dict())
I got the following error. Did I do anything wrong? Thanks.
ERROR: MethodError: Cannot convert
an object of type String to an object of type Function
Closest candidates are:
convert(::Type{T}, ::T) where T at essentials.jl:171
Stacktrace:
[1] convert(::Type{Union{Nothing, Function}}, ::String) at ./some.jl:34
[2] JSONRPC.JSONRPCEndpoint(::Base.TTY, ::Base.TTY, ::String) at /home/ossifragus/.julia/packages/JSONRPC/1Kq3H/src/core.jl:61
[3] LanguageServerInstance(::Base.TTY, ::Base.TTY, ::Bool, ::String, ::String, ::Dict{Any,Any}) at /home/ossifragus/.julia/packages/LanguageServer/y1ebo/src/languageserverinstance.jl:66
[4] top-level scope at REPL[5]:1