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

Allow compiler to throw JS errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8u40
    • None
    • core-libs
    • None

    Description

      For JDK-8051889 we need to throw SyntaxErrors for cases like duplicate let/const declarations that are naturally detected in the AssignSymbols phase. Currently we only support throwing JS errors from the parser or at runtime. We need to add support for throwing JS errors from compile phases.

      Attachments

        Activity

          People

            hannesw Hannes Wallnoefer
            hannesw Hannes Wallnoefer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: