We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 945cdf3 + 826ca91 commit 4ea6455Copy full SHA for 4ea6455
src/requests/actions.jl
@@ -152,7 +152,13 @@ end
152
153
function reexport_package(x::EXPR, server, conn)
154
(refof(x) isa SymbolServer.ModuleStore || refof(x).type === StaticLint.CoreTypes.Module || (refof(x).val isa StaticLint.Binding && refof(x).val.type === StaticLint.CoreTypes.Module)) || (refof(x).val isa SymbolServer.ModuleStore) || return
155
- mod::SymbolServer.ModuleStore = refof(x) isa SymbolServer.ModuleStore ? refof(x) : refof(x).val
+ mod = if refof(x) isa SymbolServer.ModuleStore
156
+ refof(x)
157
+ elseif refof(x).val isa SymbolServer.ModuleStore
158
+ refof(x).val
159
+ else
160
+ return
161
+ end
162
using_stmt = parentof(x)
163
file, offset = get_file_loc(x)
164
insertpos = get_next_line_offset(using_stmt)
0 commit comments