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

Parrot types are exposed when iterating over ranges of Str or Int in Rakudo #1889

Closed
p6rt opened this issue Jun 27, 2010 · 5 comments
Closed
Labels

Comments

@p6rt
Copy link

p6rt commented Jun 27, 2010

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

Searchable as RT76212$

@p6rt
Copy link
Author

p6rt commented Jun 27, 2010

From @zhuomingliang

JimmyZ> rakudo​: use MONKEY_TYPING; my $d = ''; augment class Str { method some_meth_1 {$d = $d ~ self;}}; for '0' .. '5' { .WHAT.say; .some_meth_1; }; # known bug? runing twice.
<p6eval>rakudo 09314d​: OUTPUT«Str()â�¤Str()â�¤Method 'some_meth_1' not found for invocant of class 'String'â�¤ in main program body at line 11​:/tmp/gLI4jA4RDDâ�¤Â»

jnthn> JimmyZ​: Seems that there is more than one bug there...
JimmyZ> jnthn​: I don't know the more ones.

�此�你身��康�天天快�
��亮

 

@p6rt
Copy link
Author

p6rt commented Jul 29, 2010

@coke - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Jan 22, 2011

From @masak

<felliott> rakudo​: for "a".."b" { .trans(""=>""); }
<p6eval> rakudo 388eed​: OUTPUT«too few positional arguments​: 2 passed,
3 (or more) expected [...]
<masak> *sigh*
<masak> that bug again.
* masak submits rakudobug
<masak> rakudo​: for "a".."b" { say .PARROT }
<p6eval> rakudo 388eed​: OUTPUT«Perl6Scalar->Strâ�¤Stringâ�¤Â»
<masak> there you go.
<felliott> It happens to Ints, too.
<masak> please demonstrate.
<felliott> rakudo​: for 1..2 { say .PARROT; }
<p6eval> rakudo 388eed​: OUTPUT«Perl6Scalar->Intâ�¤Integerâ�¤Â»
<felliott> I found it when looking at an unrelated bug.
<[Coke]> sorry, what's the bug?
<masak> [Coke]​: both should be Perl6Scalar->Int
<[Coke]> masak​: why?
<[Coke]> isn't that an internal detail?
<jnthn> No
<jnthn> It's a problem.
<jnthn> It's Parrot's Integer PMC leaking through.
<jnthn> We'll not use it at all once the 6model switch happens.
<masak> \o/

@p6rt
Copy link
Author

p6rt commented Oct 1, 2011

From @moritz

fixed in nom; closing without tests.

@p6rt
Copy link
Author

p6rt commented Oct 1, 2011

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

@p6rt p6rt closed this as completed Oct 1, 2011
@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant