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 (arg1, ..., argN) as a tuple more frequently (or in all cases) #395

Open
domluna opened this issue Apr 2, 2021 · 1 comment
Open
Labels
enhancement New feature or request speculative

Comments

@domluna
Copy link
Owner

domluna commented Apr 2, 2021

Right now there are cases where parenthesis with multiple arguments are NOT marked as a Tuple node. It may simplify things a bit to treat these as such.

Example:

new{T1,T2}(arg1, arg2)

would be

Call
    Curly
        ...
    Tuple
        ...

instead of

Call
    Curly
        ...
    (
    arg1
    ,
    arg2
    )

ref #387 (wouldn't be an edge case under the above construction).

Keyword arguments might be an issue ??? even that might end of up simplified though.

@domluna domluna added enhancement New feature or request speculative labels Apr 2, 2021
@domluna
Copy link
Owner Author

domluna commented Apr 2, 2021

This would be post upgrade to CSTParser3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request speculative
Projects
None yet
Development

No branches or pull requests

1 participant