ajwang / groovypptest

Automatically exported from code.google.com/p/groovypptest
0 stars 0 forks source link

Invalid slice type inference #404

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
      List<String> foos = ['aa','bb','cc']
      def bars = foos[0..1]
      println bars[0].substring(1)

------

doesn't compile. Says Cannot find method Object.substring(int)

Original issue reported on code.google.com by gromop...@gmail.com on 18 Oct 2011 at 7:25