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

Object item is removed by flatten(). #269

Closed
Kray-G opened this issue Apr 13, 2021 · 0 comments
Closed

Object item is removed by flatten(). #269

Kray-G opened this issue Apr 13, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Kray-G
Copy link
Owner

Kray-G commented Apr 13, 2021

Here is the problem.

var a = [{a:1},{b:1}];
System.println(a);
System.println(a.flatten());

The result is as follows.

[{"a":1}, {"b":1}]
{}

Expectation is below.

[{"a":1}, {"b":1}]
[{"a":1}, {"b":1}]
@Kray-G Kray-G added the bug Something isn't working label Apr 13, 2021
@Kray-G Kray-G self-assigned this Apr 13, 2021
@Kray-G Kray-G closed this as completed in c831b5e Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant