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

Handle PM_ASSOC_SPLAT_NODE when it appears in anonymous kwarg forwarding #231

Open
Tracked by #36
egiurleo opened this issue Sep 3, 2024 · 0 comments
Open
Tracked by #36

Comments

@egiurleo
Copy link

egiurleo commented Sep 3, 2024

def foo(**)
  bar(**)
        ^^ PM_ASSOC_SPLAT_NODE

Currently, the above case is not handled by our translation layer because this should be translated into a ForwardedKwrestArg in Sorbet's AST, which requires us to rethink the way we are handling hash translation.

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

No branches or pull requests

1 participant