Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Issue 404 in groovypptest: Invalid slice type inference

8 views
Skip to first unread message

groovy...@googlecode.com

unread,
Oct 18, 2011, 3:26:18 PM10/18/11
to groovyp...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 404 by gromop...@gmail.com: Invalid slice type inference
http://code.google.com/p/groovypptest/issues/detail?id=404

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)

Reply all
Reply to author
Forward
0 new messages