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

NativeCall: CArray[uint8] may contain negative numbers #5859

Closed
p6rt opened this issue Dec 5, 2016 · 5 comments
Closed

NativeCall: CArray[uint8] may contain negative numbers #5859

p6rt opened this issue Dec 5, 2016 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Dec 5, 2016

Migrated from rt.perl.org#130267 (status was 'open')

Searchable as RT130267$

@p6rt
Copy link
Author

p6rt commented Dec 5, 2016

From @mscha

  use NativeCall;

  my CArray[uint8] $a .= new(200 xx 16);
  say $a[0]; # expected output​: 200, actual output​: -56

Using Rakudo Star 2016.11​:
This is Rakudo version 2016.11 built on MoarVM version 2016.11
implementing Perl 6.c.

@p6rt
Copy link
Author

p6rt commented Apr 10, 2017

From @dwarring

A todo test has been added to Rakudo rakudo/rakudo@5cdea61

On Mon, 05 Dec 2016 04​:16​:56 -0800, perl6@​mscha.org wrote​:

 use NativeCall;

 my CArray\[uint8\] $a \.= new\(200 xx 16\);
 say $a\[0\];    \# expected output​: 200, actual output​: \-56

Using Rakudo Star 2016.11​:
This is Rakudo version 2016.11 built on MoarVM version 2016.11
implementing Perl 6.c.

@p6rt
Copy link
Author

p6rt commented Apr 10, 2017

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

@p6rt p6rt added the Bug label Jan 5, 2020
@zhuomingliang
Copy link
Member

Could be closed by rakudo/rakudo@ac009507a2?

@lizmat
Copy link
Contributor

lizmat commented Jan 23, 2022

@zhuomingliang Indeed, thanks for noticing!

@lizmat lizmat closed this as completed Jan 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants