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@804bf67 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: