Pre-submission checklist
Client
Neovim
Julia versioninfo()
JETLS version
2024-04-06
Reproduction with the VSCode reference client
Description
I have a bunch of submodules that start with:
include(joinpath(dirname(pathof(parentmodule(@__MODULE__))), "docstrings.jl"))
This create an error diagnostic with
MethodError: no method matching dirname(::Nothing)
│ │ │ The function `dirname` exists, but no method is defined for this combination of argument types.
│ │ │
│ │ │ Closest candidates are:
│ │ │ dirname(!Matched::FilePathsBase.AbstractPath)
│ │ │ @ FilePathsBase ~/.julia/packages/FilePathsBase/NV2We/src/aliases.jl:11
│ │ │ dirname(!Matched::AbstractString)
│ │ │ @ Base path.jl:183 JETLS/save (toplevel/error) [3, 1]
Steps to reproduce
Create a submodule with the line above, run the jetls diagnostics on it.
JETLS configuration (if applicable)
No response
Additional context (optional)
No response
Pre-submission checklist
Client
Neovim
Julia
versioninfo()JETLS version
2024-04-06
Reproduction with the VSCode reference client
Description
I have a bunch of submodules that start with:
This create an error diagnostic with
Steps to reproduce
Create a submodule with the line above, run the
jetlsdiagnostics on it.JETLS configuration (if applicable)
No response
Additional context (optional)
No response