[perl #132718] BUG: Unhandled kind 3 with int32 argument

[email protected] ("Zoffix Znet via RT")
Newsgroups perl.perl6.compiler
Message-ID <[email protected]>
On Sat, 13 Jan 2018 14:56:30 -0800, [email protected] wrote:
> FWIW it was “working” before this commit:
> https://github.com/rakudo/rakudo/commit/ec18f24d27ce61fa71d177ab76c4044ee1d1a75e
> 
> But that's probably irrelevant because I'm pretty sure it was cheating
> with
> something.
> On 2018-01-13 13:56:54, elizabeth wrote:
> >
> > > On 13 Jan 2018, at 22:38, Curt Tilmes (via RT) <perl6-bugs-
> > > [email protected]> wrote:
> > >
> > > # New Ticket Created by Curt Tilmes
> > > # Please include the string: [perl #132718]
> > > # in the subject line of all future correspondence about this
> > > issue.
> > > # <URL: https://rt.perl.org/Ticket/Display.html?id=132718 >
> > >
> > >
> > > <ctilmes> m: sub foo(int32 $x) { say "ok" if $x }; foo(12);
> > > <camelia> rakudo-moar f25fdbdf0: OUTPUT: «===SORRY!===␤Unhandled
> > > kind
> > > 3␤»
> >
> > FWIW, this also happens for int8 and int16 with different Unhandled
> > kind values (1 and 2 respectively).
> >
> > Casual introspection shows that apparently no support for int8, int16
> > or int32 has been added at this level.


Thank you for the report. This is now fixed in branch `post-release`.

Fix:  https://github.com/perl6/nqp/commit/df45cb8ce9
Test: https://github.com/perl6/roast/commit/63fb5d3a954de9064
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.