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

Allow compiler to throw JS errors

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: