Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-27738

False errors and warnings when using export in .mjs JavaScript module

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 7.0.1
    • None
    • Linux/X11

    Description

      The above screenshot shows the invalid warning and error. Hovering over "export" shows:

      Unexpected token 'export'

      Importing into a QML file these work fine.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtqmlteam Qt Qml Team User
            stephenmdangelo Stephen D'Angelo
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes