Skip to content

Fix character literal #383

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

Merged
merged 1 commit into from
Mar 11, 2024
Merged

Conversation

eed3si9n
Copy link
Collaborator

Fixes #382
Fixes #380

Problem

Previously the character literal was updated copied from that of Rust apparently, but Scala doesn't have curly braces in the character literal. The regex has bug, and it's failing CI.

We do, however, support two 'u' characters.

Solution

  1. This removes the curly brace variant.
  2. Instead, this adds support for \uu0041

Previously the character literal was updated
mimicking that of Rust apparently,
but Scala doesn't have curly braces in the character literal.

We do, however, support two 'u' characters.
@keynmol keynmol merged commit 3007ed5 into tree-sitter:master Mar 11, 2024
@eed3si9n eed3si9n deleted the wip/character_literal branch March 11, 2024 07:16
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.

Fuzz test failing with "repetition quantifier expects a valid decimal" Character literal '\uu0041'
2 participants