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

we should have "[ ]" evaluate to empty array #3043

Closed
tomlm opened this issue Nov 28, 2019 · 0 comments · Fixed by #3240
Closed

we should have "[ ]" evaluate to empty array #3043

tomlm opened this issue Nov 28, 2019 · 0 comments · Fixed by #3240
Assignees
Labels
composer Impacts composer R8 Release 8 - March 16th, 2020
Milestone

Comments

@tomlm
Copy link
Contributor

tomlm commented Nov 28, 2019

If we change expression evaluation to treat "[]" as a value type of empty array we can drop InitProperty and use SetProperty to initialize arrays.

And "{}" would be empty object too.

@tomlm tomlm added DCR labels Nov 28, 2019
@tomlm tomlm changed the title [DCR] "[]" evaluate to empty array we should have "[ ]" evaluate to empty array Dec 3, 2019
@tomlm tomlm added the R8 Release 8 - March 16th, 2020 label Dec 4, 2019
@vishwacsena vishwacsena added LG composer Impacts composer labels Dec 12, 2019
@munozemilio munozemilio added this to the R8 milestone Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
composer Impacts composer R8 Release 8 - March 16th, 2020
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants