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

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

XMLWordPrintable

      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

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

            qtqmlteam Qt Qml Team User
            shin1_okada Shinichi Okada (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes