GROOVY-5783: Inconsistency when generating sets
Merge branch 'GROOVY_2_3_X' of https://github.com/groovy/groovy-core into GROOVY_2_3_X