Skip to content

Commit 30e7f05

Browse files
committed
fix stop omit occname #3950
1 parent 4ae63f0 commit 30e7f05

File tree

1 file changed

+1
-3
lines changed
  • plugins/hls-semantic-tokens-plugin/src/Ide/Plugin/SemanticTokens

1 file changed

+1
-3
lines changed

plugins/hls-semantic-tokens-plugin/src/Ide/Plugin/SemanticTokens/Query.hs

+1-3
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@ hieAstSpanNames vf ast =
8484
exclusion :: Identifier -> IdentifierDetails a -> Bool
8585
exclusion idt IdentifierDetails {identInfo = infos} = case idt of
8686
Left _ -> True
87-
Right name ->
88-
isDerivedOccName (nameOccName name)
89-
|| any isEvidenceContext (S.toList infos)
87+
Right _ -> any isEvidenceContext (S.toList infos)
9088

9189
-------------------------------------------------
9290

0 commit comments

Comments
 (0)