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

Set.perl.EVAL confused by Pair #6145

Open
p6rt opened this issue Mar 10, 2017 · 2 comments
Open

Set.perl.EVAL confused by Pair #6145

p6rt opened this issue Mar 10, 2017 · 2 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Mar 10, 2017

Migrated from rt.perl.org#130974 (status was 'new')

Searchable as RT130974$

@p6rt
Copy link
Author

p6rt commented Mar 10, 2017

From zefram@fysh.org

Set.new((​:a)).perl
set(​:a)
Set.new((​:a)).perl.EVAL.perl
Unexpected named argument 'a' passed
  in block <unit> at EVAL_20 line 1
  in block <unit> at <unknown file> line 1

Failure of .perl.EVAL to round-trip. Don't know which side of the trip
is at fault.

-zefram

@p6rt
Copy link
Author

p6rt commented Mar 10, 2017

From zefram@fysh.org

I wrote​:

                                 Don't know which side of the trip

is at fault.

On reflection, for pair syntax to have special meaning at the top
level of an argument list is an intentional feature of calling syntax.
It is therefore .perl that is at fault, in not taking account of this
syntactic feature.

-zefram

@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant