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

list binding hangs #4852

Closed
p6rt opened this issue Dec 13, 2015 · 5 comments
Closed

list binding hangs #4852

p6rt opened this issue Dec 13, 2015 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Dec 13, 2015

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

Searchable as RT126888$

@p6rt
Copy link
Author

p6rt commented Dec 13, 2015

From zefram@fysh.org

$ perl6 -e '(1,2)[0] := 3'
[hangs]
^C

The attempted operation is not valid, because list structure is immutable.
This ought to be detected as an unimplemeted method or in a better way.
But a method trying to handle multidimensional indexing picks up the call
and ends up delegating to itself in an infinite recursion. I think that
method should have a narrower signature so that it only tackles cases
that are strictly multidimensional.

-zefram

@p6rt
Copy link
Author

p6rt commented Dec 25, 2015

From zefram@fysh.org

This has now been fixed by commit 986f98d8c6d772ac5d0b513793c521df6a343ae8
from Timo++.

-zefram

@p6rt
Copy link
Author

p6rt commented Dec 31, 2015

From @usev6

On Thu Dec 24 19​:26​:55 2015, zefram@​fysh.org wrote​:

This has now been fixed by commit 986f98d8c6d772ac5d0b513793c521df6a343ae8
from Timo++.

-zefram

Thanks! I added at test to S32-exceptions/misc.t with commit Raku/roast@b0c17ab00c

I'm closing this ticket as 'resolved'.

@p6rt
Copy link
Author

p6rt commented Dec 31, 2015

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

@p6rt p6rt closed this as completed Dec 31, 2015
@p6rt
Copy link
Author

p6rt commented Dec 31, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant