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

There's an empty method on [[]] which gives [] in Rakudo #1543

Closed
p6rt opened this issue Feb 26, 2010 · 7 comments
Closed

There's an empty method on [[]] which gives [] in Rakudo #1543

p6rt opened this issue Feb 26, 2010 · 7 comments

Comments

@p6rt
Copy link

p6rt commented Feb 26, 2010

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

Searchable as RT73112$

@p6rt
Copy link
Author

p6rt commented Feb 26, 2010

From @masak

<diakopter> rakudo​: [[]].perl.say; [[]].''().perl.say # I don't know
why there's an empty method here...
<p6eval> rakudo 852213​: OUTPUT«[[]]␤[]␤»
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Mar 8, 2010

From @moritz

On Thu Feb 25 16​:21​:21 2010, masak wrote​:

<diakopter> rakudo​: [[]].perl.say; [[]].''().perl.say # I don't know
why there's an empty method here...
<p6eval> rakudo 852213​: OUTPUT«[[]]␤[]␤»
* masak submits rakudobug

I suspect you see a method which overrides a vtable, which typically
have the name '' in Rakudo. Fixing this bug likely depends on
http://trac.parrot.org/parrot/ticket/1505

@p6rt
Copy link
Author

p6rt commented Mar 8, 2010

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

@p6rt
Copy link
Author

p6rt commented Jul 27, 2010

From @bbkr

On Atlanta build​:

[19​:05] <bbkr> rakudo​: [[]].''().perl.say
[19​:05] <p6eval> rakudo ac8a2a​: OUTPUT«too few positional arguments​: 1
passed, 2 (or more) expected␤ in main program body at line
22​:/tmp/IAjyiX0K2V␤»

@p6rt
Copy link
Author

p6rt commented Sep 13, 2011

From @bbkr

NOM​: empty method is gone, taking for tests

11​:54
bbkr1
nom​: [[]].''().perl.say

11​:54
p6eval
nom d97997​: OUTPUT«Method '' not found for invocant of class 'Array'␤
in <anon> at /tmp/lC81aKMP7R​:1␤ in <anon> at /tmp/lC81aKMP7R​:1␤␤»

@p6rt
Copy link
Author

p6rt commented Sep 26, 2011

From @moritz

I deem this sufficiently weird not to need a spectest, so closing
without one.

@p6rt
Copy link
Author

p6rt commented Sep 26, 2011

@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