Probably a special case of #331.
Consider this Java class:
package test22;
public class MyBean {
private String foo;
private String bar;
private String baz;
public void setFoo(String foo) { this.foo = foo; }
public void setBar(String bar) { this.bar = bar; }
public void setBaz(String baz) { this.baz = baz; }
}
and this Groovy class:
package test22
class Test22 {
public Test22() {
def b = new MyBean(
foo: 'foo',
b|
bar: 'bar')
}
}
Invoke code assist at "|": no suggestion is given for baz:, while it is if you remove the leading "b".
It is also given if you add a comma after "|", but it's unnatural and, if you accept the proposal, you end up with a double comma (because of the completion behaviour described in #490).