Affects Version/s: 2.5.0.M3
Fix Version/s: 2.5.0.RC1
Environment:ubuntu 10.04, sts 2.5.0.M3 (pre), jvm 1.6.20, grails 1.3.4
If you let STS format the attached code the list:
def gender = ["unknown","female","male"]
gets ripped appart into
def gender = [
I get this kind of behaviour only under certain circumstances/nestings ... I already minored the code to something pretty useless ... but good enough to make the point/show the error.