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

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

Closed
yuntan opened this issue Jun 14, 2020 · 2 comments
Closed

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

yuntan opened this issue Jun 14, 2020 · 2 comments

Comments

@yuntan
Copy link

yuntan commented Jun 14, 2020

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

@yuntan
Copy link
Author

yuntan commented Jun 14, 2020

Testing 194e2d9, and the issue has resolved. #688

@non-Jedi
Copy link
Member

Duplicate of #651

@non-Jedi non-Jedi marked this as a duplicate of #651 Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants