Allow compiler to throw JS errors

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8u40
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: