Skip to content

Conversation

@JeffBezanson
Copy link
Member

Some characters can continue but not start an identifier. Currently these give an "unknown unicode character" error, which could be more accurate.

@codecov
Copy link

codecov bot commented Feb 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.17%. Comparing base (a6f2d15) to head (2fb672f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #421      +/-   ##
==========================================
+ Coverage   94.61%   96.17%   +1.56%     
==========================================
  Files          14       14              
  Lines        4178     4185       +7     
==========================================
+ Hits         3953     4025      +72     
+ Misses        225      160      -65     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@c42f c42f left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good. I added an extra test and tweaked the error message to include the character in analogy to the existing ErrorUnknownCharacter etc + rebased to get the CI fixes.

@c42f c42f merged commit 3a12196 into main Jul 30, 2024
@c42f c42f deleted the jb/idstarterr branch July 30, 2024 10:59
c42f added a commit to JuliaLang/julia that referenced this pull request Oct 17, 2025
…/JuliaSyntax.jl#421)

* add more specific error for invalid identifier start chars

* Tweak ErrorIdentifierStart message + add diagnostics test.

---------

Co-authored-by: Claire Foster <[email protected]>
topolarity pushed a commit to JuliaLang/julia that referenced this pull request Nov 14, 2025
…/JuliaSyntax.jl#421)

* add more specific error for invalid identifier start chars

* Tweak ErrorIdentifierStart message + add diagnostics test.

---------

Co-authored-by: Claire Foster <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants