From 8ecad5fe6a6228c28e945c002fc3e0676a12c7b6 Mon Sep 17 00:00:00 2001 From: Laine Taffin Altman Date: Tue, 7 Jan 2025 23:28:52 -0800 Subject: [PATCH] Add Unicode 16 arrow operator MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit U+1F8B2 🢲 (RIGHTWARDS ARROW WITH LOWER HOOK) --- src/kinds.jl | 1 + test/tokenize.jl | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/kinds.jl b/src/kinds.jl index dafc91de..dec74772 100644 --- a/src/kinds.jl +++ b/src/kinds.jl @@ -479,6 +479,7 @@ register_kinds!(JuliaSyntax, 0, [ "↶" "↺" "↻" + "🢲" "END_ARROW" # Level 4 diff --git a/test/tokenize.jl b/test/tokenize.jl index e2d069da..a608e249 100644 --- a/test/tokenize.jl +++ b/test/tokenize.jl @@ -920,6 +920,9 @@ end if VERSION >= v"1.10-DEV" push!(ops, "⥷ ⥺ ⟇") end + if VERSION >= v"1.12-DEV" + push!(ops, "🢲") + end allops = split(join(ops, " "), " ") @test all(s->Base.isoperator(Symbol(s)) == is_operator(first(collect(tokenize(s))).kind), allops) end