Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parse unicode forall and exists as identifiers #42314

Merged
Prev Previous commit
Next Next commit
news and tests.
  • Loading branch information
willow-ahrens committed Sep 30, 2021
commit 081ef96b48399c37080255c6acf08107031e6710
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ New language features
to enforce the involved function calls to be (or not to be) inlined. ([#41312])
* The default behavior of observing `@inbounds` declarations is now an option via `auto` in `--check-bounds=yes|no|auto` ([#41551])
* New function `eachsplit(str)` for iteratively performing `split(str)`.
* `∀` and `` are now allowed as identifier characters.
* `∀`, `∃`, and `` are now allowed as identifier characters.

Language changes
----------------
Expand Down
1 change: 1 addition & 0 deletions test/syntax.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2971,6 +2971,7 @@ end
@test Meta.parse("\U2200", raise=false) == Symbol("∀")
@test Meta.parse("\U2203", raise=false) == Symbol("∃")
@test Meta.parse("a\U2203", raise=false) == Symbol("a∃")
@test Meta.parse("\U2204", raise=false) == Symbol("∄")

# issue 42220
macro m42220()
Expand Down