Raku / old-issue-tracker

Tickets from RT
https://github.com/Raku/old-issue-tracker/issues
2 stars 1 forks source link

BUG: Unhandled kind 3 with int32 argument #6664

Closed p6rt closed 6 years ago

p6rt commented 6 years ago

Migrated from rt.perl.org#132718 (status was 'resolved')

Searchable as RT132718$

p6rt commented 6 years ago

From curt@tilmes.org

\ m​: sub foo(int32 $x) { say "ok" if $x }; foo(12); \ rakudo-moar f25fdbdf0​: OUTPUT​: «===SORRY!===␤Unhandled kind 3␤»

p6rt commented 6 years ago

From @lizmat

On 13 Jan 2018, at 22​:38, Curt Tilmes (via RT) \perl6\-bugs\-followup@​perl\.org 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-archive.perl.org/perl6/Ticket/Display.html?id=132718 >

\ m​: sub foo(int32 $x) { say "ok" if $x }; foo(12); \ 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.

p6rt commented 6 years ago

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

p6rt commented 6 years ago

From @AlexDaniel

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- followup@​perl.org> 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-archive.perl.org/perl6/Ticket/Display.html?id=132718 >

\ m​: sub foo(int32 $x) { say "ok" if $x }; foo(12); \ 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.

p6rt commented 6 years ago

From @AlexDaniel

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- followup@​perl.org> 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-archive.perl.org/perl6/Ticket/Display.html?id=132718 >

\ m​: sub foo(int32 $x) { say "ok" if $x }; foo(12); \ 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.

p6rt commented 6 years ago

From @zoffixznet

On Sat, 13 Jan 2018 14​:56​:30 -0800, alex.jakimenko@​gmail.com 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- followup@​perl.org> 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-archive.perl.org/perl6/Ticket/Display.html?id=132718 >

\ m​: sub foo(int32 $x) { say "ok" if $x }; foo(12); \ 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

p6rt commented 6 years ago

@zoffixznet - Status changed from 'open' to 'resolved'