From 589ec0f56f1199e54486f7dbfaabf6ddc68c0269 Mon Sep 17 00:00:00 2001 From: Nikita Prokopov Date: Fri, 6 Sep 2024 17:42:08 +0200 Subject: [PATCH] 4.1.1 Support Clojure 1.12 --- CHANGELOG.md | 2 +- test_syntax/syntax_test_clojure.cljc | 26 +++++++++++++++++++++++--- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cb9c055..86f1409 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -### WIP +### 4.1.1 - Sep 6, 2024 - Support Clojure 1.12 array type annotations diff --git a/test_syntax/syntax_test_clojure.cljc b/test_syntax/syntax_test_clojure.cljc index 5a616d4..c92da44 100644 --- a/test_syntax/syntax_test_clojure.cljc +++ b/test_syntax/syntax_test_clojure.cljc @@ -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 @@ -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