Groovy web console

subscribe to the feed Subscribe
to this
site

Weird conversion issue

Published 3 weeks ago by Niels Harremoes
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
assert [new StringBuilder()][0].getClass() ==  ([new StringBuilder()] as Object[])[0].getClass()