You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
Query diagnostics tend to "stick" regardless of toggle switching, so we might either continue to display a diagnostic when it's no longer valid, or we might not show diagnostics when we should.
Query diagnostics tend to "stick" regardless of toggle switching, so we might either continue to display a diagnostic when it's no longer valid, or we might not show diagnostics when we should.
To reproduce:
This query shows an error diagnostic for
type:commitwhen structural search is enabled https://sourcegraph.com/search?q=context:global+repo:%5Egithub%5C.com/sourcegraph/sourcegraph%24+type:commit+asdf&patternType=structuralNow click the structural search toggle to disable.
The diagnostic still shows (but it should disappear)
The other way around:
This query shows no diagnostics, and
type:commitis set: https://sourcegraph.com/search?q=context:global+repo:%5Egithub%5C.com/sourcegraph/sourcegraph%24+type:commit+asdf&patternType=structuralNow click the structural search toggle to disable.
No diagnostic shows up (but we should be showing the diagnostic that
type:commitisn't supported)