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
Infinite loop on CArray[].new #5663
Comments
From perl6@6dof.xyzHow to reproduce: perl6 -e 'use NativeCall; CArray[uint8].new(())' Fix (not tested): --- a/lib/NativeCall/Types.pm6 |
From @zoffixznetThanks for the report! Unfortunately the fix you provided is a no-op, because empty arrays are falsy, so the check doesn't add anything extra. The issue was the nextsame candidate was the one with the slurpy that called the current candidate back again, resulting in an infiniloop. The issue has now been resolved in rakudo/rakudo@804bf671f8 Tests added in the same commit. Cheers, |
The RT System itself - Status changed from 'new' to 'open' |
@zoffixznet - Status changed from 'open' to 'resolved' |
From cedric@6dof.xyzMany thanks! |
Migrated from rt.perl.org#129256 (status was 'resolved')
Searchable as RT129256$
The text was updated successfully, but these errors were encountered: