aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qmlls/modules/data/quickfixes/INeedAQuickFix.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qmlls/modules/data/quickfixes/INeedAQuickFix.qml')
-rw-r--r--tests/auto/qmlls/modules/data/quickfixes/INeedAQuickFix.qml19
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
+ }
+ }
+
+}