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

Lambda Spec: Prohibit "_" as a lambda parameter name, but not elsewhere

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • None
    • specification
    • Verified

      The variable name "_" should not be allowed as a lambda parameter. However, it should be legal as any other variable's name (the compiler produces a warning in all non-lambda cases, in anticipation of reclaiming the name as a keyword sometime in the future).

            dlsmith Dan Smith
            dlsmith Dan Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: