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

.gist of a Method does not always show its .name (.say for <a b c>.^methods) #6608

Closed
p6rt opened this issue Oct 14, 2017 · 5 comments
Closed
Labels
LTA Less Than Awesome; typically an error message that could be better

Comments

@p6rt
Copy link

p6rt commented Oct 14, 2017

Migrated from rt.perl.org#132290 (status was 'open')

Searchable as RT132290$

@p6rt
Copy link
Author

p6rt commented Oct 14, 2017

From @AlexDaniel

Code​:
say .name, “ – ”, .gist for <a b c>.^methods

Result​:
from-iterator – from-iterator
from-slurpy – from-slurpy
from-slurpy-onearg – from-slurpy-onearg
from-slurpy-flat – from-slurpy-flat
new – new
to – to
from – from
sum – sum
fmt – fmt
BIND-POS – BIND-POS
reification-target – reification-target
iterator – iterator
sink – sink
STORE – STORE
eager – eager
Capture – Capture
FLATTENABLE_LIST – FLATTENABLE_LIST
FLATTENABLE_HASH – FLATTENABLE_HASH
CALL-ME – CALL-ME
pick – pick
roll – roll
reverse – reverse
rotate – rotate
combinations – combinations
permutations – permutations
join – join
push – push
append – append
unshift – unshift
prepend – prepend
shift – shift
pop – pop
item – item
of – of
hyper – hyper
race – race
lazy – lazy
flat – flat
lazy-if – lazy-if
Bool – Bool
Int – Int
end – Method+{<anon|94370560268544>}.new
Numeric – Numeric
Str – Str
elems – Method+{<anon|94370560268544>}.new
AT-POS – Method+{<anon|94370560268544>}.new
EXISTS-POS – Method+{<anon|94370560268544>}.new
ACCEPTS – ACCEPTS
list – Method+{<anon|94370560268544>}.new
values – Method+{<anon|94370560268544>}.new
keys – Method+{<anon|94370560268544>}.new
kv – Method+{<anon|94370560268544>}.new
pairs – Method+{<anon|94370560268544>}.new
antipairs – Method+{<anon|94370560268544>}.new
invert – Method+{<anon|94370560268544>}.new
gist – gist
perl – perl
List – Method+{<anon|94370560268544>}.new
Slip – Method+{<anon|94370560268544>}.new
Array – Method+{<anon|94370560268544>}.new
Supply – Method+{<anon|94370560268544>}.new
is-lazy – is-lazy
sort – Method+{<anon|94370560268544>}.new
tail – tail
Bag – Method+{<anon|94370560268544>}.new
MixHash – Method+{<anon|94370560268544>}.new
Mix – Method+{<anon|94370560268544>}.new
Set – Method+{<anon|94370560268544>}.new
BagHash – Method+{<anon|94370560268544>}.new
SetHash – Method+{<anon|94370560268544>}.new
BUILDALL – BUILDALL

I think that “Method+{<anon|94370560268544>}.new” is a LTA gist for a method object.

@p6rt
Copy link
Author

p6rt commented Oct 20, 2017

From @AlexDaniel

Slight change after rakudo/rakudo@b6982e68

Current output​: https://gist.github.com/Whateverable/6500a98a091e42d8b664e4b870f09a7d

On 2017-10-13 20​:09​:41, alex.jakimenko@​gmail.com wrote​:

Code​:
say .name, “ – ”, .gist for <a b c>.^methods

Result​:
from-iterator – from-iterator
from-slurpy – from-slurpy
from-slurpy-onearg – from-slurpy-onearg
from-slurpy-flat – from-slurpy-flat
new – new
to – to
from – from
sum – sum
fmt – fmt
BIND-POS – BIND-POS
reification-target – reification-target
iterator – iterator
sink – sink
STORE – STORE
eager – eager
Capture – Capture
FLATTENABLE_LIST – FLATTENABLE_LIST
FLATTENABLE_HASH – FLATTENABLE_HASH
CALL-ME – CALL-ME
pick – pick
roll – roll
reverse – reverse
rotate – rotate
combinations – combinations
permutations – permutations
join – join
push – push
append – append
unshift – unshift
prepend – prepend
shift – shift
pop – pop
item – item
of – of
hyper – hyper
race – race
lazy – lazy
flat – flat
lazy-if – lazy-if
Bool – Bool
Int – Int
end – Method+{<anon|94370560268544>}.new
Numeric – Numeric
Str – Str
elems – Method+{<anon|94370560268544>}.new
AT-POS – Method+{<anon|94370560268544>}.new
EXISTS-POS – Method+{<anon|94370560268544>}.new
ACCEPTS – ACCEPTS
list – Method+{<anon|94370560268544>}.new
values – Method+{<anon|94370560268544>}.new
keys – Method+{<anon|94370560268544>}.new
kv – Method+{<anon|94370560268544>}.new
pairs – Method+{<anon|94370560268544>}.new
antipairs – Method+{<anon|94370560268544>}.new
invert – Method+{<anon|94370560268544>}.new
gist – gist
perl – perl
List – Method+{<anon|94370560268544>}.new
Slip – Method+{<anon|94370560268544>}.new
Array – Method+{<anon|94370560268544>}.new
Supply – Method+{<anon|94370560268544>}.new
is-lazy – is-lazy
sort – Method+{<anon|94370560268544>}.new
tail – tail
Bag – Method+{<anon|94370560268544>}.new
MixHash – Method+{<anon|94370560268544>}.new
Mix – Method+{<anon|94370560268544>}.new
Set – Method+{<anon|94370560268544>}.new
BagHash – Method+{<anon|94370560268544>}.new
SetHash – Method+{<anon|94370560268544>}.new
BUILDALL – BUILDALL

I think that “Method+{<anon|94370560268544>}.new” is a LTA gist for a
method object.

@p6rt
Copy link
Author

p6rt commented Oct 26, 2017

From @zoffixznet

On Fri, 13 Oct 2017 20​:09​:41 -0700, alex.jakimenko@​gmail.com wrote​:

Code​:
say .name, “ – ”, .gist for <a b c>.^methods

Result​:
from-iterator – from-iterator
from-slurpy – from-slurpy
from-slurpy-onearg – from-slurpy-onearg
from-slurpy-flat – from-slurpy-flat
new – new
to – to
from – from
sum – sum
fmt – fmt
BIND-POS – BIND-POS
reification-target – reification-target
iterator – iterator
sink – sink
STORE – STORE
eager – eager
Capture – Capture
FLATTENABLE_LIST – FLATTENABLE_LIST
FLATTENABLE_HASH – FLATTENABLE_HASH
CALL-ME – CALL-ME
pick – pick
roll – roll
reverse – reverse
rotate – rotate
combinations – combinations
permutations – permutations
join – join
push – push
append – append
unshift – unshift
prepend – prepend
shift – shift
pop – pop
item – item
of – of
hyper – hyper
race – race
lazy – lazy
flat – flat
lazy-if – lazy-if
Bool – Bool
Int – Int
end – Method+{<anon|94370560268544>}.new
Numeric – Numeric
Str – Str
elems – Method+{<anon|94370560268544>}.new
AT-POS – Method+{<anon|94370560268544>}.new
EXISTS-POS – Method+{<anon|94370560268544>}.new
ACCEPTS – ACCEPTS
list – Method+{<anon|94370560268544>}.new
values – Method+{<anon|94370560268544>}.new
keys – Method+{<anon|94370560268544>}.new
kv – Method+{<anon|94370560268544>}.new
pairs – Method+{<anon|94370560268544>}.new
antipairs – Method+{<anon|94370560268544>}.new
invert – Method+{<anon|94370560268544>}.new
gist – gist
perl – perl
List – Method+{<anon|94370560268544>}.new
Slip – Method+{<anon|94370560268544>}.new
Array – Method+{<anon|94370560268544>}.new
Supply – Method+{<anon|94370560268544>}.new
is-lazy – is-lazy
sort – Method+{<anon|94370560268544>}.new
tail – tail
Bag – Method+{<anon|94370560268544>}.new
MixHash – Method+{<anon|94370560268544>}.new
Mix – Method+{<anon|94370560268544>}.new
Set – Method+{<anon|94370560268544>}.new
BagHash – Method+{<anon|94370560268544>}.new
SetHash – Method+{<anon|94370560268544>}.new
BUILDALL – BUILDALL

I think that “Method+{<anon|94370560268544>}.new” is a LTA gist for a
method object.

This is a dupe of https://rt-archive.perl.org/perl6/Ticket/Display.html?id=132149#ticket-history which also provides some debugging details

@p6rt
Copy link
Author

p6rt commented Oct 26, 2017

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

@p6rt p6rt added the LTA Less Than Awesome; typically an error message that could be better label Jan 5, 2020
@JJ
Copy link

JJ commented Dec 31, 2020

Closed as duplicate of #6545 as indicated in the comment.

@JJ JJ closed this as completed Dec 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTA Less Than Awesome; typically an error message that could be better
Projects
None yet
Development

No branches or pull requests

2 participants