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

issues inferring type annotations on records

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 15
    • None
    • tools
    • b06

      - for compact constructors, which implies that the parameter list is implicit, the compiler should push any (type) annotations from the record component to the corresponding parameter.

      - for the accessor, type annotations should be applied to the return type.

      reported by michael dot hixson at gmail dot com in amber-dev: http://mail.openjdk.java.net/pipermail/amber-dev/2019-December/005400.html

            vromero Vicente Arturo Romero Zaldivar
            vromero Vicente Arturo Romero Zaldivar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: