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

Enums pollute type information #4746

Open
p6rt opened this issue Nov 13, 2015 · 3 comments
Open

Enums pollute type information #4746

p6rt opened this issue Nov 13, 2015 · 3 comments

Comments

@p6rt
Copy link

p6rt commented Nov 13, 2015

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

Searchable as RT126634$

@p6rt
Copy link
Author

p6rt commented Nov 13, 2015

From @teodozjan

I got very often this bug when instead of real type I have two dimensional array of BuildingEnum. This is shortest way to reproduce​:

reproducing​:
  panda --notests install LacunaCookbuk​::Client
  unpack RT attachment
  run perl6 ~/pod6-coverage/lib/Pod/Coverage.pm6

expected​:
  $var = $["Model", "Logic"]

actual​:
  Array[LacunaCookbuk​::Logic​::Chairman​::BuildingEnum][LacunaCookbuk​::Logic​::Chairman​::BuildingEnum] $var = $["Model", "Logic"]

@p6rt
Copy link
Author

p6rt commented Nov 13, 2015

From @teodozjan

pod6-coverage.tar.gz

@p6rt
Copy link
Author

p6rt commented Nov 13, 2015

From @teodozjan

On Pt 13 Lis 2015, 13​:49​:55, teodozjan wrote​:

I got very often this bug when instead of real type I have two
dimensional array of BuildingEnum. This is shortest way to reproduce​:

reproducing​:
panda --notests install LacunaCookbuk​::Client
unpack RT attachment
run perl6 ~/pod6-coverage/lib/Pod/Coverage.pm6

expected​:
$var = $["Model", "Logic"]

actual​:
Array[LacunaCookbuk​::Logic​::Chairman​::BuildingEnum][LacunaCookbuk​::Logic​::Chairman​::BuildingEnum]
$var = $["Model", "Logic"]

also this file is required https://github.com/teodozjan/lacuna-cookbuk/blob/master/META.info

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