Skip to content

Commit 3d39aee

Browse files
committed
Fix a typo
1 parent 422787e commit 3d39aee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/imports.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ function has_workspace_package(server, name)
8888
haskey(server.workspacepackages, name) &&
8989
hasscope(getcst(server.workspacepackages[name])) &&
9090
haskey(scopeof(getcst(server.workspacepackages[name])).names, name) &&
91-
scopeof(getcst(server.workspacepackages[name])).names[name] isa Binding &&
92-
scopeof(getcst(server.workspacepackages[name])).names[name].val isa EXPR &&
93-
(typof(scopeof(getcst(server.workspacepackages[name])).names[name].val) in (ModuleH,BareModule))
94-
end
91+
scopeof(getcst(server.workspacepackages[name])).names[name] isa Binding &&
92+
scopeof(getcst(server.workspacepackages[name])).names[name].val isa EXPR &&
93+
(typeof(scopeof(getcst(server.workspacepackages[name])).names[name].val) in (ModuleH, BareModule))
94+
end
9595

9696
function add_to_imported_modules(scope::Scope, name::Symbol, val)
9797
if scope.modules isa Dict

0 commit comments

Comments
 (0)