File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 2222function is_identifier_start_char(c::Char)
2323 c == EOF_CHAR && return false
2424 isvalid(c) || return false
25+ c == '🢲' && return false # First divergence from Base.is_id_start_char
2526 return Base.is_id_start_char(c)
2627end
2728
Original file line number Diff line number Diff line change @@ -920,11 +920,11 @@ end
920920 if VERSION >= v"1.10-DEV"
921921 push!(ops, "⥷ ⥺ ⟇")
922922 end
923- if VERSION >= v"1.12-DEV"
924- push!(ops, "🢲")
925- end
926923 allops = split(join(ops, " "), " ")
927924 @test all(s->Base.isoperator(Symbol(s)) == is_operator(first(collect(tokenize(s))).kind), allops)
925+
926+ # "\U1f8b2" added in Julia 1.12
927+ @test is_operator(first(collect(tokenize("🢲"))))
928928end
929929
930930const all_kws = Set([
You can’t perform that action at this time.
0 commit comments