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

Array.clone does not clone holes correctly #1434

zoffixznet opened this issue Jan 23, 2018 · 0 comments


None yet
2 participants
Copy link

commented Jan 23, 2018

Figured I'd try solving #1432/#1433 with .clone, but found that it doesn't clone holes:

<Zoffix__> m: my @a = 1; @a[3] = 42; say @a[2]:exists; say @a.clone[2]:exists
<camelia> rakudo-moar 0a1641e94: OUTPUT: «False␤True␤»
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.