On 2020-01-09 10:10, ToddAndMargo via perl6-users wrote:
Hi All,
A bug to report:
$ perl6 -v
This is Rakudo version 2019.07.1 built on MoarVM version 2019.07.1
implementing Perl 6.d.
$ p6 'my uint32 $c; $c = "ABC";'
This type cannot unbox to a native integer: P6opaque, Str
in block <unit> at -e line 1
"uint32" is not an "integer". It is a cardinal. If
they really want to use the word "integer" for cardinal,
they should change the wording to "unsigned integer".
Picky, picky, picky
:-)
-T
Hi All,
Since folks do not like the programming/math term
"carinal", it would be perfectly happy if the error
message was changed from:
This type cannot unbox to a native integer: P6opaque, Str
to
This type cannot unbox to a native unsigned integer: P6opaque, Str
-T