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

assigning to AOB List elem does not hint right #4500

Closed
p6rt opened this issue Sep 2, 2015 · 6 comments
Closed

assigning to AOB List elem does not hint right #4500

p6rt opened this issue Sep 2, 2015 · 6 comments
Labels
LTA Less Than Awesome; typically an error message that could be better testneeded

Comments

@p6rt
Copy link

p6rt commented Sep 2, 2015

Migrated from rt.perl.org#125964 (status was 'resolved')

Searchable as RT125964$

@p6rt
Copy link
Author

p6rt commented Sep 2, 2015

From @FROGGS

m​: my $a = (1, 2, 3); $a[42] = 21
camelia rakudo-moar 00be1e​: OUTPUT«Index out of range. Is​: 42, should be
in 0..2␤ in block <unit> at /tmp/nnTEvtevbH​:1␤␤»
GLRelia rakudo-moar 467b79​: OUTPUT«Attempted to STORE to Nil.␤ in block
<unit> at /tmp/o9_DeZFRmB​:1␤␤»

Both answers are far from ideal because you cannot assign to a List
anyway, even when you use an existing position.

@p6rt
Copy link
Author

p6rt commented Dec 3, 2017

From @AlexDaniel

Today (2017.11,HEAD(e5b660e)) it prints this message​:

Cannot modify an immutable Str (Nil)
  in block <unit> at -e line 1

Which is still LTA

On 2015-09-02 05​:09​:29, FROGGS.de wrote​:

m​: my $a = (1, 2, 3); $a[42] = 21
camelia rakudo-moar 00be1e​: OUTPUT«Index out of range. Is​: 42, should be
in 0..2␤ in block <unit> at /tmp/nnTEvtevbH​:1␤␤»
GLRelia rakudo-moar 467b79​: OUTPUT«Attempted to STORE to Nil.␤ in block
<unit> at /tmp/o9_DeZFRmB​:1␤␤»

Both answers are far from ideal because you cannot assign to a List
anyway, even when you use an existing position.

@p6rt
Copy link
Author

p6rt commented Dec 3, 2017

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

@p6rt
Copy link
Author

p6rt commented Dec 3, 2017

From @lizmat

Fixed with c9699ab , tests needed. Please note that this currently breaks tests 55-56 in S02-types/range.t which appear to be a little too specific for their own good.

On 3 Dec 2017, at 05​:28, Aleks-Daniel Jakimenko-Aleksejev via RT <perl6-bugs-followup@​perl.org> wrote​:

Today (2017.11,HEAD(e5b660e)) it prints this message​:

Cannot modify an immutable Str (Nil)
in block <unit> at -e line 1

Which is still LTA

On 2015-09-02 05​:09​:29, FROGGS.de wrote​:

m​: my $a = (1, 2, 3); $a[42] = 21
camelia rakudo-moar 00be1e​: OUTPUT«Index out of range. Is​: 42, should be
in 0..2␤ in block <unit> at /tmp/nnTEvtevbH​:1␤␤»
GLRelia rakudo-moar 467b79​: OUTPUT«Attempted to STORE to Nil.␤ in block
<unit> at /tmp/o9_DeZFRmB​:1␤␤»

Both answers are far from ideal because you cannot assign to a List
anyway, even when you use an existing position.

@p6rt
Copy link
Author

p6rt commented Dec 11, 2017

@p6rt
Copy link
Author

p6rt commented Dec 11, 2017

@zoffixznet - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Dec 11, 2017
@p6rt p6rt added LTA Less Than Awesome; typically an error message that could be better testneeded labels Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTA Less Than Awesome; typically an error message that could be better testneeded
Projects
None yet
Development

No branches or pull requests

1 participant