qtdeclarative/tests/auto/qml/qmllint
Olivier De Cannière 6a2308e500 Compiler: Don't stop after first diagnostic
The type propagator currently skips all subsequent instructions as soon
as an error occurs. We want to be able to provide more than one warning
at the time within the same binding/function.

Therefore, stop skipping all instructions on the first error. The output
accumulator is set to a var after an error to avoid leaving it in an
invalid state and to be able to reuse later code. Some extra checks were
also added to avoid crashes.

Fixes: QTBUG-127624
Change-Id: Ifc0389767a067181c6e3ba4d5c3fc1a0597c29ef
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2024-08-23 07:56:20 +02:00
..
data qmllint: disable the tumbler warning in qmllint 2024-08-08 11:39:36 +02:00
importRelScript tst_qmllint: Add qt_autogen_tools_initial_setup 2024-08-01 08:44:34 +02:00
CMakeLists.txt QQmlImportVisitor: Prepend ':' for qrc paths only when necessary 2024-07-29 14:38:46 +02:00
lintplugin.cpp qmllint: avoid stale typeresolver pointer 2024-07-02 13:51:34 +02:00
lintplugin.h Correct license for test files 2024-02-27 10:32:21 +01:00
testPlugin.json
tst_qmllint.cpp Compiler: Don't stop after first diagnostic 2024-08-23 07:56:20 +02:00