Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8204674

Inconsistent lambda parameter span

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 11
    • tools
    • None
    • b18

        Consider code like this:
        java.util.function.IntBinaryOperator c = (var x, testType) -> 1;

        The span for the "var x" variable does not include "var". The span of "testType" does not include "testType" after attribution.

              jlahoda Jan Lahoda
              jlahoda Jan Lahoda
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: