We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
length
This seems to crash my VS Code Julia language server. Xref JuliaLang/julia#47790 and JuliaLang/julia#51747
Activating project at `~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/environments/languageserver/fallback` [ Info: Starting the Julia Language Server [ Info: Symbol server store is at '/home/nsajko/.config/Code - OSS/User/globalStorage/julialang.language-julia/symbolstorev5'. [ Info: Starting LS at 1706691899 ┌ Error: Some Julia code in the VS Code extension crashed └ @ Main ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/error_handler.jl:15 ERROR: MethodError: no method matching length(::Base.Iterators.Stateful{String, Union{Nothing, Tuple{Char, Int64}}}) Closest candidates are: length(!Matched::DataStructures.SparseIntSet) @ DataStructures ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/DataStructures/src/sparse_int_set.jl:61 length(!Matched::LibGit2.GitBlob) @ LibGit2 ~/tmp/jl/jl/julia-nightly/share/julia/stdlib/v1.11/LibGit2/src/blob.jl:3 length(!Matched::Markdown.MD) @ Markdown ~/tmp/jl/jl/julia-nightly/share/julia/stdlib/v1.11/Markdown/src/parse/parse.jl:37 ... Stacktrace: [1] valid_escaped_seq(s::String) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:567 [2] mLITERAL(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/spec.jl:138 [3] INSTANCE(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/spec.jl:228 [4] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:72 [5] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [6] macro expansion @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:123 [inlined] [7] parse_comp_operator(ps::CSTParser.ParseState, ret::CSTParser.EXPR, op::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/operators.jl:311 [8] parse_operator(ps::CSTParser.ParseState, ret::CSTParser.EXPR, op::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/operators.jl:494 [9] parse_compound(ps::CSTParser.ParseState, ret::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:140 [10] parse_compound_recur(ps::CSTParser.ParseState, ret::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:92 [11] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:86 [12] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [13] macro expansion @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:123 [inlined] [14] parse_operator_eq(ps::CSTParser.ParseState, ret::CSTParser.EXPR, op::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/operators.jl:276 [15] parse_operator(ps::CSTParser.ParseState, ret::CSTParser.EXPR, op::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/operators.jl:460 [16] parse_compound(ps::CSTParser.ParseState, ret::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:140 [17] parse_compound_recur(ps::CSTParser.ParseState, ret::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:92 [18] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:86 [19] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [20] parse_block(ps::CSTParser.ParseState, ret::Vector{CSTParser.EXPR}, closers::Tuple{Tokenize.Tokens.Kind, Tokenize.Tokens.Kind, Tokenize.Tokens.Kind}, docable::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/internals.jl:20 [21] parse_block(ps::CSTParser.ParseState, ret::Vector{CSTParser.EXPR}, closers::Tuple{Tokenize.Tokens.Kind, Tokenize.Tokens.Kind, Tokenize.Tokens.Kind}) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/internals.jl:8 [22] parse_if(ps::CSTParser.ParseState, nested::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:366 [23] parse_if(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:362 [24] macro expansion @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:63 [inlined] [25] parse_kw(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:12 [26] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:50 [27] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [28] parse_block(ps::CSTParser.ParseState, ret::Vector{CSTParser.EXPR}, closers::Tuple{Tokenize.Tokens.Kind}, docable::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/internals.jl:20 [29] parse_blockexpr(ps::CSTParser.ParseState, head::Symbol) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:330 [30] macro expansion @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:63 [inlined] [31] parse_kw(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:18 [32] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:50 [33] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [34] parse_doc(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:219 [35] parse(ps::CSTParser.ParseState, cont::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:247 [36] parse @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:198 [inlined] [37] LanguageServer.Document(text_document::LanguageServer.TextDocument, workspace_file::Bool, server::LanguageServerInstance) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/document.jl:14 [38] load_folder(path::String, server::LanguageServerInstance) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/requests/init.jl:117 [39] initialized_notification(params::LanguageServer.InitializedParams, server::LanguageServerInstance, conn::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/requests/init.jl:209 [40] (::LanguageServer.var"#111#112"{typeof(LanguageServer.initialized_notification), LanguageServerInstance})(conn::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}, params::LanguageServer.InitializedParams) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/languageserverinstance.jl:265 [41] dispatch_msg(x::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}, dispatcher::JSONRPC.MsgDispatcher, msg::Dict{String, Any}) @ JSONRPC ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/JSONRPC/src/typed.jl:67 [42] run(server::LanguageServerInstance; timings::Vector{Any}) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/languageserverinstance.jl:394 [43] run(server::LanguageServerInstance) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/languageserverinstance.jl:275 [44] top-level scope @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/languageserver/main.jl:104 [45] include(mod::Module, _path::String) @ Base ./Base.jl:526 [46] exec_options(opts::Base.JLOptions) @ Base ./client.jl:318 [47] _start() @ Base ./client.jl:525 [Info - 10:05:18 AM] Connection to server got closed. Server will restart. true [Error - 10:05:18 AM] Server process exited with code 1. Activating project at `~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/environments/languageserver/fallback` [ Info: Starting the Julia Language Server [ Info: Symbol server store is at '/home/nsajko/.config/Code - OSS/User/globalStorage/julialang.language-julia/symbolstorev5'. [ Info: Starting LS at 1706691923 ┌ Error: Some Julia code in the VS Code extension crashed └ @ Main ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/error_handler.jl:15 ERROR: MethodError: no method matching length(::Base.Iterators.Stateful{String, Union{Nothing, Tuple{Char, Int64}}}) Closest candidates are: length(!Matched::DataStructures.SparseIntSet) @ DataStructures ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/DataStructures/src/sparse_int_set.jl:61 length(!Matched::LibGit2.GitBlob) @ LibGit2 ~/tmp/jl/jl/julia-nightly/share/julia/stdlib/v1.11/LibGit2/src/blob.jl:3 length(!Matched::Markdown.MD) @ Markdown ~/tmp/jl/jl/julia-nightly/share/julia/stdlib/v1.11/Markdown/src/parse/parse.jl:37 ... Stacktrace: [1] valid_escaped_seq(s::String) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:567 [2] mLITERAL(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/spec.jl:138 [3] INSTANCE(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/spec.jl:228 [4] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:72 [5] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [6] macro expansion @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:123 [inlined] [7] parse_comp_operator(ps::CSTParser.ParseState, ret::CSTParser.EXPR, op::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/operators.jl:311 [8] parse_operator(ps::CSTParser.ParseState, ret::CSTParser.EXPR, op::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/operators.jl:494 [9] parse_compound(ps::CSTParser.ParseState, ret::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:140 [10] parse_compound_recur(ps::CSTParser.ParseState, ret::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:92 [11] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:86 [12] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [13] macro expansion @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:123 [inlined] [14] parse_operator_eq(ps::CSTParser.ParseState, ret::CSTParser.EXPR, op::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/operators.jl:276 [15] parse_operator(ps::CSTParser.ParseState, ret::CSTParser.EXPR, op::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/operators.jl:460 [16] parse_compound(ps::CSTParser.ParseState, ret::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:140 [17] parse_compound_recur(ps::CSTParser.ParseState, ret::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:92 [18] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:86 [19] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [20] parse_block(ps::CSTParser.ParseState, ret::Vector{CSTParser.EXPR}, closers::Tuple{Tokenize.Tokens.Kind, Tokenize.Tokens.Kind, Tokenize.Tokens.Kind}, docable::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/internals.jl:20 [21] parse_block(ps::CSTParser.ParseState, ret::Vector{CSTParser.EXPR}, closers::Tuple{Tokenize.Tokens.Kind, Tokenize.Tokens.Kind, Tokenize.Tokens.Kind}) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/internals.jl:8 [22] parse_if(ps::CSTParser.ParseState, nested::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:366 [23] parse_if(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:362 [24] macro expansion @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:63 [inlined] [25] parse_kw(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:12 [26] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:50 [27] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [28] parse_block(ps::CSTParser.ParseState, ret::Vector{CSTParser.EXPR}, closers::Tuple{Tokenize.Tokens.Kind}, docable::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/internals.jl:20 [29] parse_blockexpr(ps::CSTParser.ParseState, head::Symbol) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:330 [30] macro expansion @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:63 [inlined] [31] parse_kw(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:18 [32] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:50 [33] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [34] parse_doc(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:219 [35] parse(ps::CSTParser.ParseState, cont::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:247 [36] parse @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:198 [inlined] [37] LanguageServer.Document(text_document::LanguageServer.TextDocument, workspace_file::Bool, server::LanguageServerInstance) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/document.jl:14 [38] load_folder(path::String, server::LanguageServerInstance) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/requests/init.jl:117 [39] initialized_notification(params::LanguageServer.InitializedParams, server::LanguageServerInstance, conn::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/requests/init.jl:209 [40] (::LanguageServer.var"#111#112"{typeof(LanguageServer.initialized_notification), LanguageServerInstance})(conn::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}, params::LanguageServer.InitializedParams) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/languageserverinstance.jl:265 [41] dispatch_msg(x::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}, dispatcher::JSONRPC.MsgDispatcher, msg::Dict{String, Any}) @ JSONRPC ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/JSONRPC/src/typed.jl:67 [42] run(server::LanguageServerInstance; timings::Vector{Any}) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/languageserverinstance.jl:394 [43] run(server::LanguageServerInstance) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/languageserverinstance.jl:275 [44] top-level scope @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/languageserver/main.jl:104 [45] include(mod::Module, _path::String) @ Base ./Base.jl:526 [46] exec_options(opts::Base.JLOptions) @ Base ./client.jl:318 [47] _start() @ Base ./client.jl:525 [Info - 10:05:41 AM] Connection to server got closed. Server will restart. true [Error - 10:05:41 AM] Server process exited with code 1. Activating project at `~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/environments/languageserver/fallback` [ Info: Starting the Julia Language Server [ Info: Symbol server store is at '/home/nsajko/.config/Code - OSS/User/globalStorage/julialang.language-julia/symbolstorev5'. [ Info: Starting LS at 1706691945 ┌ Error: Some Julia code in the VS Code extension crashed └ @ Main ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/error_handler.jl:15 ERROR: MethodError: no method matching length(::Base.Iterators.Stateful{String, Union{Nothing, Tuple{Char, Int64}}}) Closest candidates are: length(!Matched::DataStructures.SparseIntSet) @ DataStructures ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/DataStructures/src/sparse_int_set.jl:61 length(!Matched::LibGit2.GitBlob) @ LibGit2 ~/tmp/jl/jl/julia-nightly/share/julia/stdlib/v1.11/LibGit2/src/blob.jl:3 length(!Matched::Markdown.MD) @ Markdown ~/tmp/jl/jl/julia-nightly/share/julia/stdlib/v1.11/Markdown/src/parse/parse.jl:37 ... Stacktrace: [1] valid_escaped_seq(s::String) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:567 [2] mLITERAL(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/spec.jl:138 [3] INSTANCE(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/spec.jl:228 [4] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:72 [5] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [6] macro expansion @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:123 [inlined] [7] parse_comp_operator(ps::CSTParser.ParseState, ret::CSTParser.EXPR, op::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/operators.jl:311 [8] parse_operator(ps::CSTParser.ParseState, ret::CSTParser.EXPR, op::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/operators.jl:494 [9] parse_compound(ps::CSTParser.ParseState, ret::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:140 [10] parse_compound_recur(ps::CSTParser.ParseState, ret::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:92 [11] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:86 [12] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [13] macro expansion @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:123 [inlined] [14] parse_operator_eq(ps::CSTParser.ParseState, ret::CSTParser.EXPR, op::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/operators.jl:276 [15] parse_operator(ps::CSTParser.ParseState, ret::CSTParser.EXPR, op::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/operators.jl:460 [16] parse_compound(ps::CSTParser.ParseState, ret::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:140 [17] parse_compound_recur(ps::CSTParser.ParseState, ret::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:92 [18] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:86 [19] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [20] parse_block(ps::CSTParser.ParseState, ret::Vector{CSTParser.EXPR}, closers::Tuple{Tokenize.Tokens.Kind, Tokenize.Tokens.Kind, Tokenize.Tokens.Kind}, docable::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/internals.jl:20 [21] parse_block(ps::CSTParser.ParseState, ret::Vector{CSTParser.EXPR}, closers::Tuple{Tokenize.Tokens.Kind, Tokenize.Tokens.Kind, Tokenize.Tokens.Kind}) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/internals.jl:8 [22] parse_if(ps::CSTParser.ParseState, nested::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:366 [23] parse_if(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:362 [24] macro expansion @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:63 [inlined] [25] parse_kw(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:12 [26] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:50 [27] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [28] parse_block(ps::CSTParser.ParseState, ret::Vector{CSTParser.EXPR}, closers::Tuple{Tokenize.Tokens.Kind}, docable::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/internals.jl:20 [29] parse_blockexpr(ps::CSTParser.ParseState, head::Symbol) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:330 [30] macro expansion @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:63 [inlined] [31] parse_kw(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:18 [32] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:50 [33] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [34] parse_doc(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:219 [35] parse(ps::CSTParser.ParseState, cont::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:247 [36] parse @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:198 [inlined] [37] LanguageServer.Document(text_document::LanguageServer.TextDocument, workspace_file::Bool, server::LanguageServerInstance) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/document.jl:14 [38] load_folder(path::String, server::LanguageServerInstance) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/requests/init.jl:117 [39] initialized_notification(params::LanguageServer.InitializedParams, server::LanguageServerInstance, conn::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/requests/init.jl:209 [40] (::LanguageServer.var"#111#112"{typeof(LanguageServer.initialized_notification), LanguageServerInstance})(conn::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}, params::LanguageServer.InitializedParams) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/languageserverinstance.jl:265 [41] dispatch_msg(x::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}, dispatcher::JSONRPC.MsgDispatcher, msg::Dict{String, Any}) @ JSONRPC ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/JSONRPC/src/typed.jl:67 [42] run(server::LanguageServerInstance; timings::Vector{Any}) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/languageserverinstance.jl:394 [43] run(server::LanguageServerInstance) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/languageserverinstance.jl:275 [44] top-level scope @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/languageserver/main.jl:104 [45] include(mod::Module, _path::String) @ Base ./Base.jl:526 [46] exec_options(opts::Base.JLOptions) @ Base ./client.jl:318 [47] _start() @ Base ./client.jl:525 [ Info: Downloading cache files... [Info - 10:06:04 AM] Connection to server got closed. Server will restart. true [Error - 10:06:04 AM] Server process exited with code 1. Activating project at `~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/environments/languageserver/fallback` [ Info: Starting the Julia Language Server [ Info: Symbol server store is at '/home/nsajko/.config/Code - OSS/User/globalStorage/julialang.language-julia/symbolstorev5'. [ Info: Starting LS at 1706691969 ┌ Error: Some Julia code in the VS Code extension crashed └ @ Main ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/error_handler.jl:15 ERROR: MethodError: no method matching length(::Base.Iterators.Stateful{String, Union{Nothing, Tuple{Char, Int64}}}) Closest candidates are: length(!Matched::DataStructures.SparseIntSet) @ DataStructures ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/DataStructures/src/sparse_int_set.jl:61 length(!Matched::LibGit2.GitBlob) @ LibGit2 ~/tmp/jl/jl/julia-nightly/share/julia/stdlib/v1.11/LibGit2/src/blob.jl:3 length(!Matched::Markdown.MD) @ Markdown ~/tmp/jl/jl/julia-nightly/share/julia/stdlib/v1.11/Markdown/src/parse/parse.jl:37 ... Stacktrace: [1] valid_escaped_seq(s::String) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:567 [2] mLITERAL(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/spec.jl:138 [3] INSTANCE(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/spec.jl:228 [4] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:72 [5] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [6] macro expansion @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:123 [inlined] [7] parse_comp_operator(ps::CSTParser.ParseState, ret::CSTParser.EXPR, op::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/operators.jl:311 [8] parse_operator(ps::CSTParser.ParseState, ret::CSTParser.EXPR, op::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/operators.jl:494 [9] parse_compound(ps::CSTParser.ParseState, ret::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:140 [10] parse_compound_recur(ps::CSTParser.ParseState, ret::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:92 [11] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:86 [12] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [13] macro expansion @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:123 [inlined] [14] parse_operator_eq(ps::CSTParser.ParseState, ret::CSTParser.EXPR, op::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/operators.jl:276 [15] parse_operator(ps::CSTParser.ParseState, ret::CSTParser.EXPR, op::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/operators.jl:460 [16] parse_compound(ps::CSTParser.ParseState, ret::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:140 [17] parse_compound_recur(ps::CSTParser.ParseState, ret::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:92 [18] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:86 [19] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [20] parse_block(ps::CSTParser.ParseState, ret::Vector{CSTParser.EXPR}, closers::Tuple{Tokenize.Tokens.Kind, Tokenize.Tokens.Kind, Tokenize.Tokens.Kind}, docable::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/internals.jl:20 [21] parse_block(ps::CSTParser.ParseState, ret::Vector{CSTParser.EXPR}, closers::Tuple{Tokenize.Tokens.Kind, Tokenize.Tokens.Kind, Tokenize.Tokens.Kind}) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/internals.jl:8 [22] parse_if(ps::CSTParser.ParseState, nested::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:366 [23] parse_if(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:362 [24] macro expansion @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:63 [inlined] [25] parse_kw(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:12 [26] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:50 [27] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [28] parse_block(ps::CSTParser.ParseState, ret::Vector{CSTParser.EXPR}, closers::Tuple{Tokenize.Tokens.Kind}, docable::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/internals.jl:20 [29] parse_blockexpr(ps::CSTParser.ParseState, head::Symbol) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:330 [30] macro expansion @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:63 [inlined] [31] parse_kw(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:18 [32] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:50 [33] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [34] parse_doc(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:219 [35] parse(ps::CSTParser.ParseState, cont::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:247 [36] parse @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:198 [inlined] [37] LanguageServer.Document(text_document::LanguageServer.TextDocument, workspace_file::Bool, server::LanguageServerInstance) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/document.jl:14 [38] load_folder(path::String, server::LanguageServerInstance) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/requests/init.jl:117 [39] initialized_notification(params::LanguageServer.InitializedParams, server::LanguageServerInstance, conn::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/requests/init.jl:209 [40] (::LanguageServer.var"#111#112"{typeof(LanguageServer.initialized_notification), LanguageServerInstance})(conn::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}, params::LanguageServer.InitializedParams) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/languageserverinstance.jl:265 [41] dispatch_msg(x::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}, dispatcher::JSONRPC.MsgDispatcher, msg::Dict{String, Any}) @ JSONRPC ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/JSONRPC/src/typed.jl:67 [42] run(server::LanguageServerInstance; timings::Vector{Any}) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/languageserverinstance.jl:394 [43] run(server::LanguageServerInstance) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/languageserverinstance.jl:275 [44] top-level scope @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/languageserver/main.jl:104 [45] include(mod::Module, _path::String) @ Base ./Base.jl:526 [46] exec_options(opts::Base.JLOptions) @ Base ./client.jl:318 [47] _start() @ Base ./client.jl:525 [Info - 10:06:26 AM] Connection to server got closed. Server will restart. true [Error - 10:06:26 AM] Server process exited with code 1. Activating project at `~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/environments/languageserver/fallback` [ Info: Starting the Julia Language Server [ Info: Symbol server store is at '/home/nsajko/.config/Code - OSS/User/globalStorage/julialang.language-julia/symbolstorev5'. [ Info: Starting LS at 1706691990 ┌ Error: Some Julia code in the VS Code extension crashed └ @ Main ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/error_handler.jl:15 ERROR: MethodError: no method matching length(::Base.Iterators.Stateful{String, Union{Nothing, Tuple{Char, Int64}}}) Closest candidates are: length(!Matched::DataStructures.SparseIntSet) @ DataStructures ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/DataStructures/src/sparse_int_set.jl:61 length(!Matched::LibGit2.GitBlob) @ LibGit2 ~/tmp/jl/jl/julia-nightly/share/julia/stdlib/v1.11/LibGit2/src/blob.jl:3 length(!Matched::Markdown.MD) @ Markdown ~/tmp/jl/jl/julia-nightly/share/julia/stdlib/v1.11/Markdown/src/parse/parse.jl:37 ... Stacktrace: [1] valid_escaped_seq(s::String) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:567 [2] mLITERAL(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/spec.jl:138 [3] INSTANCE(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/spec.jl:228 [4] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:72 [5] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [6] macro expansion @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:123 [inlined] [7] parse_comp_operator(ps::CSTParser.ParseState, ret::CSTParser.EXPR, op::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/operators.jl:311 [8] parse_operator(ps::CSTParser.ParseState, ret::CSTParser.EXPR, op::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/operators.jl:494 [9] parse_compound(ps::CSTParser.ParseState, ret::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:140 [10] parse_compound_recur(ps::CSTParser.ParseState, ret::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:92 [11] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:86 [12] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [13] macro expansion @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:123 [inlined] [14] parse_operator_eq(ps::CSTParser.ParseState, ret::CSTParser.EXPR, op::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/operators.jl:276 [15] parse_operator(ps::CSTParser.ParseState, ret::CSTParser.EXPR, op::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/operators.jl:460 [16] parse_compound(ps::CSTParser.ParseState, ret::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:140 [17] parse_compound_recur(ps::CSTParser.ParseState, ret::CSTParser.EXPR) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:92 [18] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:86 [19] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [20] parse_block(ps::CSTParser.ParseState, ret::Vector{CSTParser.EXPR}, closers::Tuple{Tokenize.Tokens.Kind, Tokenize.Tokens.Kind, Tokenize.Tokens.Kind}, docable::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/internals.jl:20 [21] parse_block(ps::CSTParser.ParseState, ret::Vector{CSTParser.EXPR}, closers::Tuple{Tokenize.Tokens.Kind, Tokenize.Tokens.Kind, Tokenize.Tokens.Kind}) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/internals.jl:8 [22] parse_if(ps::CSTParser.ParseState, nested::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:366 [23] parse_if(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:362 [24] macro expansion @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:63 [inlined] [25] parse_kw(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:12 [26] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:50 [27] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [28] parse_block(ps::CSTParser.ParseState, ret::Vector{CSTParser.EXPR}, closers::Tuple{Tokenize.Tokens.Kind}, docable::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/internals.jl:20 [29] parse_blockexpr(ps::CSTParser.ParseState, head::Symbol) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:330 [30] macro expansion @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/utils.jl:63 [inlined] [31] parse_kw(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/components/keywords.jl:18 [32] parse_expression(ps::CSTParser.ParseState, esc_on_error::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:50 [33] parse_expression(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:37 [34] parse_doc(ps::CSTParser.ParseState) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:219 [35] parse(ps::CSTParser.ParseState, cont::Bool) @ CSTParser ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:247 [36] parse @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/CSTParser/src/packagedef.jl:198 [inlined] [37] LanguageServer.Document(text_document::LanguageServer.TextDocument, workspace_file::Bool, server::LanguageServerInstance) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/document.jl:14 [38] load_folder(path::String, server::LanguageServerInstance) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/requests/init.jl:117 [39] initialized_notification(params::LanguageServer.InitializedParams, server::LanguageServerInstance, conn::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/requests/init.jl:209 [40] (::LanguageServer.var"#111#112"{typeof(LanguageServer.initialized_notification), LanguageServerInstance})(conn::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}, params::LanguageServer.InitializedParams) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/languageserverinstance.jl:265 [41] dispatch_msg(x::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}, dispatcher::JSONRPC.MsgDispatcher, msg::Dict{String, Any}) @ JSONRPC ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/JSONRPC/src/typed.jl:67 [42] run(server::LanguageServerInstance; timings::Vector{Any}) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/languageserverinstance.jl:394 [43] run(server::LanguageServerInstance) @ LanguageServer ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/packages/LanguageServer/src/languageserverinstance.jl:275 [44] top-level scope @ ~/.vscode-oss/extensions/julialang.language-julia-1.66.2-universal/scripts/languageserver/main.jl:104 [45] include(mod::Module, _path::String) @ Base ./Base.jl:526 [46] exec_options(opts::Base.JLOptions) @ Base ./client.jl:318 [47] _start() @ Base ./client.jl:525 [Error - 10:06:47 AM] The Julia Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information. [Error - 10:06:47 AM] Server process exited with code 1.
The text was updated successfully, but these errors were encountered:
I see the same error.
Sorry, something went wrong.
@Zentrik see the linked PR, it's merged, so this is fixed on CSTParser master, I guess.
Yup. I'll probably tag a new release of the extension tomorrow.
No branches or pull requests
This seems to crash my VS Code Julia language server. Xref JuliaLang/julia#47790 and JuliaLang/julia#51747
The text was updated successfully, but these errors were encountered: