Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.3
-
d8e73b588a4d5a6f3ee38acd455fb8aa3f0cc190 (qt/qtdeclarative/dev)
Description
For such code qmllint reports problem
import QtQuick 2.15 Item { id: myItem Component.onCompleted: { // console.log("AAA"); myItem.up33date(); } }
Warning: Test.qml:8:16: Property "up33date" not found on type "Item" myItem.up33date(); ^^^^^^^^
but if I uncomment line with console then qmllint reports nothing:
$ /usr/local/qt6_tools/bin/qmllint Test.qml $
This is regression, qmllint (a1c91787264f6f535b5cf094b57ee53058856df4) reports warning in both cases, but for fe59c788a65579bbeeb550fcad96cf26443df77a "console.log" somehow hide warning.