When the method below is executed as-is, the output is "java.lang.String" x3. When @CompileStatic is uncommented, the output is "java.lang.Character" x3. Is it possible to have dynamic groovy match the static compilation result?
Similarly, 'abc'*.anything applies to Strings of length one instead of Characters. Although, spread-dot is not supported against strings under static compilation. Is it possible to add that support?