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

assignment of a Slip to array subscript does not slip #4844

Closed
p6rt opened this issue Dec 9, 2015 · 4 comments
Closed

assignment of a Slip to array subscript does not slip #4844

p6rt opened this issue Dec 9, 2015 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Dec 9, 2015

Migrated from rt.perl.org#126861 (status was 'rejected')

Searchable as RT126861$

@p6rt
Copy link
Author

p6rt commented Dec 9, 2015

From @gfldex

my @​a; @​a[0] = |(1,2,3); dd @​a;
# OUTPUT«Array $var = $[(1, 2, 3),]␤»

# should be the same as​:
my @​a = |(1,2,3); dd @​a;
# OUTPUT«Array $var = $[1, 2, 3]␤»

@p6rt
Copy link
Author

p6rt commented Apr 26, 2016

From @coke

On Wed Dec 09 10​:44​:55 2015, gfldex wrote​:

my @​a; @​a[0] = |(1,2,3); dd @​a;
# OUTPUT«Array $var = $[(1, 2, 3),]␤»

# should be the same as​:
my @​a = |(1,2,3); dd @​a;
# OUTPUT«Array $var = $[1, 2, 3]␤»

16​:33 < [Coke]> ^^ should those work out the same? RT #​126861
16​:38 < jnthn> No
16​:39 < jnthn> Assigning to an array element is an assignment to that element.

Thanks for the feedback, but I'm rejecting the ticket.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Apr 26, 2016

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Apr 26, 2016

@coke - Status changed from 'open' to 'rejected'

@p6rt p6rt closed this as completed Apr 26, 2016
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