Skip to content

Commit 00c1ba1

Browse files
committed
Fix reflection
1 parent 9e73dc1 commit 00c1ba1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/clojure/com/github/clojure_lsp/intellij/extension/semantic_token_provider.clj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
[java.util List]
1111
[org.eclipse.lsp4j SemanticTokenModifiers SemanticTokenTypes]))
1212

13+
(set! *warn-on-reflection* true)
14+
1315
(def ^:private default-provider (DefaultSemanticTokensColorsProvider.))
1416

1517
(defn ^:private modifier? [modifier token-modifiers]
@@ -35,4 +37,4 @@
3537
SemanticTokenTypes/Type SemanticTokensHighlightingColors/STATIC_PROPERTY
3638
SemanticTokenTypes/Variable SemanticTokensHighlightingColors/READONLY_VARIABLE
3739
SemanticTokenTypes/Keyword SemanticTokensHighlightingColors/NUMBER
38-
(.getTextAttributesKey default-provider token-type token-modifiers psi-file)))
40+
(.getTextAttributesKey ^DefaultSemanticTokensColorsProvider default-provider token-type token-modifiers psi-file)))

0 commit comments

Comments
 (0)