JavaCompilerCore/resources/bytecode/javFiles/Bug309.jav
Daniel Holle 6b0816c1c4
All checks were successful
Build and Test with Maven / Build-and-test-with-Maven (push) Successful in 2m47s
Add test for #309
2024-04-08 14:02:57 +02:00

14 lines
345 B
Java

import java.util.List;
import java.util.ArrayList;
import java.lang.Integer;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import java.util.function.Function;
public class Bug309 {
public main() {
List<Integer> list = new ArrayList<>(List.of(1,2,3,4,5,6,7,8,9));
list.stream().map(x -> x * 2);
}
}