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

Mixing Roles into lazy lists fails. #3238

Closed
p6rt opened this issue Sep 20, 2013 · 3 comments
Closed

Mixing Roles into lazy lists fails. #3238

p6rt opened this issue Sep 20, 2013 · 3 comments

Comments

@p6rt
Copy link

p6rt commented Sep 20, 2013

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

Searchable as RT119925$

@p6rt
Copy link
Author

p6rt commented Sep 20, 2013

From @BenGoldberg1

When playing around with the perl6 irc evalbot, I discovered these problems​:

[22​:44] star​: (gather {} but role {})[0]
[22​:44] star 2013.08​: OUTPUT«This type does not support elems␤ in method REIFY at src/gen/CORE.setting​:7531␤ in method reify at src/gen/CORE.setting​:6757␤ in method gimme at src/gen/CORE.setting​:7177␤ in method exists at src/gen/CORE.setting​:7165␤ in method at_pos at src/gen/CORE.setting​:7…
[22​:46] star​: ((^Inf) but role {})[0]
[22​:46] star 2013.08​: OUTPUT«No such method 'BUILD' for invocant of type 'Range+{}'␤ in method reify at src/gen/CORE.setting​:6620␤ in method reify at src/gen/CORE.setting​:6744␤ in method gimme at src/gen/CORE.setting​:7177␤ in method exists at src/gen/CORE.setting​:7165␤ in method at_p…

In both cases, I should get '( no output )', as I would if no role were mixed in.

@p6rt
Copy link
Author

p6rt commented Sep 15, 2015

From @perlpilot

Seems to be fixed​:

15​:58 <PerlJam> m​: (gather {} but role {})[0]
15​:58 <+camelia> rakudo-moar 5daff4​: ( no output )

On Fri Sep 20 16​:34​:38 2013, ben-goldberg@​hotmail.com wrote​:

When playing around with the perl6 irc evalbot, I discovered these
problems​:

[22​:44] star​: (gather {} but role {})[0]
[22​:44] star 2013.08​: OUTPUT«This type does not support elems␤ in
method REIFY at src/gen/CORE.setting​:7531␤ in method reify at
src/gen/CORE.setting​:6757␤ in method gimme at
src/gen/CORE.setting​:7177␤ in method exists at
src/gen/CORE.setting​:7165␤ in method at_pos at src/gen/CORE.setting​:7…
[22​:46] star​: ((^Inf) but role {})[0]
[22​:46] star 2013.08​: OUTPUT«No such method 'BUILD' for invocant of
type 'Range+{}'␤ in method reify at src/gen/CORE.setting​:6620␤ in
method reify at src/gen/CORE.setting​:6744␤ in method gimme at
src/gen/CORE.setting​:7177␤ in method exists at
src/gen/CORE.setting​:7165␤ in method at_p…

In both cases, I should get '( no output )', as I would if no role
were mixed in.

--

-Scott (PerlJam/perlpilot)

@p6rt p6rt closed this as completed Sep 15, 2015
@p6rt
Copy link
Author

p6rt commented Sep 15, 2015

@perlpilot - Status changed from 'new' to 'resolved'

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