Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-124779

Need to be able to detect javascript strict mode violations in qmllint.

    XMLWordPrintable

Details

    Description

      If I pass a script containing the following strict mode violation to QJSEngine::evaluate, an error is detected, but nothing happens in qmllint.

      'use strict';
      let hello = 13;
      hello2 = 14;

      Please try the attached reproducer.
      I have also included a stand-alone JS file, which you can run as follows
      $qmllint error.js

      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
            shin1_okada Shinichi Okada
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes