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

Junction:D.iterator returns an iterator that .pulls-one a Mu type object #6358

Open
p6rt opened this issue Jun 23, 2017 · 1 comment
Open
Labels

Comments

@p6rt
Copy link

p6rt commented Jun 23, 2017

Migrated from rt.perl.org#131639 (status was 'new')

Searchable as RT131639$

@p6rt
Copy link
Author

p6rt commented Jun 23, 2017

From @zoffixznet

Originally found this in behaviour of Z meta operator​:

  <Zoffix__> m​: dd <a b c>.any Z <d e f>.any
  <camelia> rakudo-moar 10f840​: OUTPUT​: «((Mu, Mu),).Seq␤»

Which works fine with X metaoperator​:

  <Zoffix__> m​: dd <a b c>.any X <d e f>.any
  <camelia> rakudo-moar 10f840​: OUTPUT​: «((any("a", "b", "c"), any("d", "e", "f")),).Seq␤»

I dug a bit and found the cause to be in Any.iterator​:

  <Zoffix__> m​: dd Seq.new​: any('x').iterator
  <camelia> rakudo-moar 10f840​: OUTPUT​: «(Mu,).Seq␤»

But after that I lost the trail and unsure where the bug is hiding...

@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