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

Exclude vararg arrays from expression diagram #80

Closed
bnorm opened this issue Mar 1, 2023 · 0 comments · Fixed by #84
Closed

Exclude vararg arrays from expression diagram #80

bnorm opened this issue Mar 1, 2023 · 0 comments · Fixed by #84
Labels
enhancement New feature or request

Comments

@bnorm
Copy link
Owner

bnorm commented Mar 1, 2023

Taken from #74:

java.lang.AssertionError: Assertion failed
assert(listOf("a", "b", "c").containsExactlyInAnyOrder("b", "a"))
       |      |              |                         |
       |      |              |                         [Ljava.lang.String;@7579bc7
       |      |              false
       |      [Ljava.lang.String;@34cfd455
       [a, b, c]

Also need to handle the spread operator for non-constant arrays. Should all arrays be excluded because they don't have a good toString()? Special handling in the diagram builder?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant