Skip to content

MethodError: no method matching Union{Int64, String}(::String) #757

Closed
@yuntan

Description

@yuntan

LanguageServer crashing on start. May be related to #651 but the stacktrace is different.

ERROR: LoadError: MethodError: no method matching Union{Int64, String}(::String)

Stacktrace: 
 [1] LanguageServer.InitializeParams ( :: Dict{ String,Any}) at /home/tokuyuuto/.julia/packages/LanguageServer/qudfd/src/protocol/initialize.jl:111
 [2] dispatch_msg(::JSONRPC.JSONRPCEndpoint, ::JSONRPC.MsgDispatcher, ::Dict{String,Any}) at /home/tokuyuuto/.julia/packages/JSONRPC/nJmHs/src/typed.jl:61
 [3] run(::LanguageServerInstance) at /home/tokuyuuto/.julia/packages/LanguageServer/qudfd/src/languageserverinstance.jl:305
 [4] top-level scope at /dev/fd/3:9
 [5] include(::Module, ::String) at ./Base.jl:377
 [6] exec_options(::Base.  JLOptions) at ./client.jl:288
 [7] _start() at ./client.jl:484
in expression starting at /dev/fd/3:9

v 3.1.0
coc.nvim
julia 1.4.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions