Closed NGEfreak closed 5 years ago
Oh. That’s terrible. I think it might be because of the recursion guard inside _validate(). I’m a bit swamped this week, but I’ll try to prioritize it.
A PR is also welcomed ;)
This should be fixed in 3.06.
Thanks for the bug report!
Steps to reproduce the behavior
When an array contains identical scalar values only the first occurence of each value is coerced.
Here is a test script:
I get the following results running this script:
Expected behavior
All values are coerced in arrays.
Actual behavior
Only the first occurence of each value is coerced in an array.