Skip to content

extra closures are supported? #303

@yegor256

Description

@yegor256

How about this code, will it work?

public Long get(final int z) {
  final int[] input = { 1, 2, 4, 8, 16 };
  return IntStream.of(input).map(x -> x + z).sum();
}

Let's try to reproduce.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions