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

14.11.1: Typo in grammar for guarded pattern

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 19
    • specification
    • b30

        The grammar for a guarded pattern is given as:

        Pattern { Guard }

        whereas it should clearly be

        Pattern [ Guard ]

        (The rest of the specification talks of *the* guard.)

              gbierman Gavin Bierman
              gbierman Gavin Bierman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: