Skip to content

Conversation

herndlm
Copy link
Contributor

@herndlm herndlm commented Sep 1, 2022

jfyi: an optional key that is not at the end of the array will lead to a union key which will lead to generalization to a generic array via the ConstantArrayBuilder, which makes sense since a union cannot be used as key. this is not changed behaviour but surprised me for a second when I added optional key tests :)

@canvural
Copy link
Contributor

canvural commented Sep 1, 2022

Is it array_shift or array_fill_keys? 😄

@herndlm
Copy link
Contributor Author

herndlm commented Sep 1, 2022

Is it array_shift or array_fill_keys? 😄

ah that explains why I had to rebase old array_shift commits away. the branch was wrong as well 😅

-> #1676

@herndlm herndlm closed this Sep 1, 2022
@herndlm herndlm deleted the array-pop-shift-get-old-constant-arrays branch September 1, 2022 08:00
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

Successfully merging this pull request may close these issues.

2 participants