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

splice is not typesafe in Rakudo #4383

Closed
p6rt opened this issue Jul 7, 2015 · 5 comments
Closed

splice is not typesafe in Rakudo #4383

p6rt opened this issue Jul 7, 2015 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Jul 7, 2015

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

Searchable as RT125571$

@p6rt
Copy link
Author

p6rt commented Jul 7, 2015

From @masak

<masak> m​: my Int @​a = 1, 2, 3; @​a.push("4"); say @​a
<camelia> rakudo-moar 389998​: OUTPUT«Type check failed in assignment
to '@​a'; expected 'Int' but got 'Str' [...]
<masak> m​: my Int @​a = 1, 2, 4; @​a.splice(2, 0, "3"); say @​a
<camelia> rakudo-moar 389998​: OUTPUT«1 2 3 4␤»
* masak submits rakudobug
<masak> *grin*
<lizmat> grrrr

@p6rt
Copy link
Author

p6rt commented Jul 8, 2015

From @lizmat

Fixed with 09041bc8e01c6fd42c9, tests are still needed

On 07 Jul 2015, at 21​:51, Carl Mäsak (via RT) <perl6-bugs-followup@​perl.org> wrote​:

# New Ticket Created by "Carl Mäsak"
# Please include the string​: [perl #​125571]
# in the subject line of all future correspondence about this issue.
# <URL​: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=125571 >

<masak> m​: my Int @​a = 1, 2, 3; @​a.push("4"); say @​a
<camelia> rakudo-moar 389998​: OUTPUT«Type check failed in assignment
to '@​a'; expected 'Int' but got 'Str' [...]
<masak> m​: my Int @​a = 1, 2, 4; @​a.splice(2, 0, "3"); say @​a
<camelia> rakudo-moar 389998​: OUTPUT«1 2 3 4␤»
* masak submits rakudobug
<masak> *grin*
<lizmat> grrrr

@p6rt
Copy link
Author

p6rt commented Jul 8, 2015

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

@p6rt
Copy link
Author

p6rt commented Jul 22, 2015

From @moritz

On Wed Jul 08 04​:16​:01 2015, elizabeth wrote​:

Fixed with 09041bc8e01c6fd42c9, tests are still needed

... and supplied with Raku/roast@233c86ea3e

Cheers,
Moritz

@p6rt
Copy link
Author

p6rt commented Jul 22, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant