There was a bug that if a file was in multiple scopes, global completions and completions for the same file were only included once, that is not for every scope. However, there's also a process that filters out completions that don't work for every scope.
This is not the most performant code, because it has to link every scope, as well as do symbol tables checks for every scope, but it works.
There was a bug that if a file was in multiple scopes, global completions and completions for the same file were only included once, that is not for every scope. However, there's also a process that filters out completions that don't work for every scope.
This is not the most performant code, because it has to link every scope, as well as do symbol tables checks for every scope, but it works.
Addresses: #1235