Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-6377

Offer the canonical constructor in records

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 12.6
    • None
    • cnd - Code Completion
    • None

    Description

      Code completion fails to offer a canonical constructor in records.

      public record R1(int x, String s) {
          R1 // Press Ctrl + Space here
      }
      

      It seems that code completion here stucks in infinite loop.

      Attachments

        Activity

          People

            Unassigned Unassigned
            miksikp Petr Miksik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: