File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ function has_workspace_package(server, name)
9090 haskey (scopeof (getcst (server. workspacepackages[name])). names, name) &&
9191 scopeof (getcst (server. workspacepackages[name])). names[name] isa Binding &&
9292 scopeof (getcst (server. workspacepackages[name])). names[name]. val isa EXPR &&
93- ( typeof ( scopeof (getcst (server. workspacepackages[name])). names[name]. val) in (Module, BareModule) )
93+ CSTParser . defines_module ( scopeof (getcst (server. workspacepackages[name])). names[name]. val)
9494end
9595
9696function add_to_imported_modules (scope:: Scope , name:: Symbol , val)
Original file line number Diff line number Diff line change @@ -1703,7 +1703,7 @@ end
17031703 StaticLint. setroot (f2, f2)
17041704 StaticLint. setfile (server, f2. path, f2)
17051705 StaticLint. semantic_pass (f2)
1706- @test StaticLint. hasref (StaticLint. getcst (f2)[1 ][2 ])
1706+ @test StaticLint. hasref (StaticLint. getcst (f2)[1 ][2 ][ 1 ] )
17071707 @test StaticLint. hasref (StaticLint. getcst (f2)[2 ])
17081708 @test StaticLint. hasref (StaticLint. getcst (f2)[3 ][3 ][1 ])
17091709end
You can’t perform that action at this time.
0 commit comments