Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.5.0
-
None
Description
@groovy.transform.TypeChecked def m() { List<String> list = ['foo', 'bar', 'baz'] list.iterator().collect { it.startsWith('ba') } == [false, true, true] } m()
Results in:
BUG! exception in phase 'instruction selection' in source unit 'TestScript.groovy' unexpected NullpointerException
Attachments
Issue Links
- links to