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

expected Array[Str] but got Array[Str].new("<a>") (2015.12 Regression from 2015.11) #4947

Open
p6rt opened this issue Dec 27, 2015 · 2 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Dec 27, 2015

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

Searchable as RT127049$

@p6rt
Copy link
Author

p6rt commented Dec 27, 2015

From @atweiden

In Config​::TOML, this is fixed by removing the Str type from Array​:
atweiden/config-toml@6ecdfa1

Bug is seen in this test​: https://github.com/atweiden/config-toml/blob/master/t/exceptions/01-document.t#L9

@p6rt
Copy link
Author

p6rt commented Dec 27, 2015

From @atweiden

On 2015-12-27 14​:46​:22, archbaum@​gmail.com wrote​:

In Config​::TOML, this is fixed by removing the Str type from Array​:
https://github.com/atweiden/config-
toml/commit/6ecdfa16dabce189df1925eab3dc4d85d1e58331

Bug is seen in this test​: https://github.com/atweiden/config-
toml/blob/master/t/exceptions/01-document.t#L9

The only two places in the code with Array[Str] type constraints​:

https://github.com/atweiden/config-toml/blob/a82b3f9664220fef10dc5d7e917e0080d8f6a08e/lib/Config/TOML/Parser/Actions.pm#L958

https://github.com/atweiden/config-toml/blob/a82b3f9664220fef10dc5d7e917e0080d8f6a08e/lib/Config/TOML/Parser/Actions.pm#L984

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