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

X::Binding::TypeCheck with split and alternates #6118

Closed
p6rt opened this issue Mar 3, 2017 · 4 comments
Closed

X::Binding::TypeCheck with split and alternates #6118

p6rt opened this issue Mar 3, 2017 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Mar 3, 2017

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

Searchable as RT130904$

@p6rt
Copy link
Author

p6rt commented Mar 3, 2017

From @samcv

"A-B C".split([" ", "-"]) when it tries
to swap something going via the IB2 sub. It gets a BOOTIntArray but
expects the arguments to be at least Any.

One further problem is that code like this causes a X​::Binding​::TypeCheck
exception that fails to generate its method due to the very lowlevel object
being used less-than-carefully.

This bug was introduced with this commit a day ago​:
rakudo/rakudo@9d497e9

timotimo has done some work on fixing part of this issue here​:
rakudo/rakudo@4707360a68

@p6rt
Copy link
Author

p6rt commented Mar 3, 2017

From @lizmat

Fixed completely with da99402e6cca51fea1 , seems samcv++ already made tests. So can be closed.

On 3 Mar 2017, at 07​:39, Samantha McVey (via RT) <perl6-bugs-followup@​perl.org> wrote​:

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

"A-B C".split([" ", "-"]) when it tries
to swap something going via the IB2 sub. It gets a BOOTIntArray but
expects the arguments to be at least Any.

One further problem is that code like this causes a X​::Binding​::TypeCheck
exception that fails to generate its method due to the very lowlevel object
being used less-than-carefully.

This bug was introduced with this commit a day ago​:
rakudo/rakudo@9d497e9

timotimo has done some work on fixing part of this issue here​:
rakudo/rakudo@4707360a68

@p6rt
Copy link
Author

p6rt commented Mar 3, 2017

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

@p6rt
Copy link
Author

p6rt commented Mar 4, 2017

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

@p6rt p6rt closed this as completed Mar 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant