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

[GR-45043] Translate more nodes in YARPTranslator #3329

Merged
merged 32 commits into from
Nov 28, 2023
Merged

Conversation

graalvmbot
Copy link
Collaborator

No description provided.

* The core library does not load yet with Prism but this helps finding
  out what node needs to be handled next.
* Also rename these helpers for clarity.
* A single array argument is expected at runtime if there is any splat.
* Otherwise `:a == :b` would be true because
  it's thought to be isAttrAssign as "==" ends with "=".
* Still not fully correct, needs ruby/prism#1715
* So foo is added to the local variables map and found by the read node.
* With:
  OVERWRITE_PARSING_RESULTS=true TRUFFLE_PARSING_USE_ORIGINAL_TRANSLATOR=true jt mspec spec/truffle/parsing/parsing_spec.rb
  OVERWRITE_PARSING_RESULTS=true jt test spec/truffle/parsing/parsing_spec.rb
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 24, 2023
@graalvmbot graalvmbot closed this Nov 28, 2023
@graalvmbot graalvmbot deleted the bd/prism-option branch November 28, 2023 15:48
@graalvmbot graalvmbot merged commit 36ef931 into master Nov 28, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants