diff options
Diffstat (limited to 'tests/auto/qmlls/modules/data/quickfixes/INeedAQuickFix.qml')
-rw-r--r-- | tests/auto/qmlls/modules/data/quickfixes/INeedAQuickFix.qml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/auto/qmlls/modules/data/quickfixes/INeedAQuickFix.qml b/tests/auto/qmlls/modules/data/quickfixes/INeedAQuickFix.qml new file mode 100644 index 0000000000..ccd2a55383 --- /dev/null +++ b/tests/auto/qmlls/modules/data/quickfixes/INeedAQuickFix.qml @@ -0,0 +1,19 @@ +import QtQuick + +Item { + id: hello + + signal s(xxx: string) + property int i: 42 + + // fix me! add '(xxx) =>' in front of console.log() + onS: console.log(xxx) + + Item { + // fix me! prepend 'hello.' to 'i'! + function f() { + return i + } + } + +} |