Skip to content

Commit

Permalink
4.1.1 Support Clojure 1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
tonsky committed Sep 6, 2024
1 parent 093114b commit 589ec0f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### WIP
### 4.1.1 - Sep 6, 2024

- Support Clojure 1.12 array type annotations

Expand Down
26 changes: 23 additions & 3 deletions test_syntax/syntax_test_clojure.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,26 @@ string"
; ^^^^^^^^^ source.symbol
; ^^^^^^^ meta.namespace.symbol
; ^ punctuation.definition.namespace
String/format String/.chars String/new
; ^^^^^^^^^^^^^ source.symbol
; ^^^^^^ meta.namespace.symbol
; ^ punctuation.definition.namespace
; ^^^^^^^^^^^^^ source.symbol
; ^^^^^^ meta.namespace.symbol
; ^ punctuation.definition.namespace
; ^^^^^^^^^^ source.symbol
; ^^^^^^ meta.namespace.symbol
; ^ punctuation.definition.namespace
String/1 java.lang.String/1 long/1
; ^^^^^^^^ source.symbol
; ^^^^^^ meta.namespace.symbol
; ^ punctuation.definition.namespace
; ^^^^^^^^^^^^^^^^^^ source.symbol
; ^^^^^^^^^^^^^^^^ meta.namespace.symbol
; ^ punctuation.definition.namespace
; ^^^^^^ source.symbol
; ^^^^ meta.namespace.symbol
; ^ punctuation.definition.namespace
_ _a _abc x/_a
; ^ source.symbol.unused
; ^^ source.symbol.unused
Expand Down Expand Up @@ -715,11 +735,11 @@ string"
; ^ punctuation.definition.metadata
; ^^^^^^^^^^^^^ - punctuation.definition.metadata
; ^ punctuation.definition.comma
^123 x ^[:dynamic true] x
^123 x ^[long long/1 String String/1 clojure.lang.IDeref clojure.lang.IDeref/1] x
; ^^^^ meta.metadata
; ^^^^ - meta.metadata
; ^^^^^^^^^^^^^^^^ meta.metadata
; ^^ - meta.metadata
; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.metadata
; ^^ - meta.metadata
^x()
; ^^ meta.metadata
; ^^ - meta.metadata
Expand Down

0 comments on commit 589ec0f

Please sign in to comment.