Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
import groovy.transform.CompileStatic import java.util.stream.Collectors import java.util.stream.Stream @CompileStatic public class Test1 { public static void main(String[] args) { p(); } public static void p() { // If we do not explicitly declare the type of parameter, STC fails assert 13 == [1, 2, 3].stream().reduce(7, (Integer r, Integer e) -> r + e); } }
Attachments
Issue Links
- links to