diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-09 04:51:40 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-09 04:51:40 (GMT) |
commit | 0dc2fe6685323a8aa6bc0e79f908aa9f2dafe6f2 (patch) | |
tree | 206907243d6ec4fe27c7d4170eaed4b3582d76e5 /tests/auto/declarative/qmlecmascript/data | |
parent | d131a9f99ebd5d753d2eedfafe0b276410168bc8 (diff) | |
download | Qt-0dc2fe6685323a8aa6bc0e79f908aa9f2dafe6f2.zip Qt-0dc2fe6685323a8aa6bc0e79f908aa9f2dafe6f2.tar.gz Qt-0dc2fe6685323a8aa6bc0e79f908aa9f2dafe6f2.tar.bz2 |
Output file/line for script errors
Diffstat (limited to 'tests/auto/declarative/qmlecmascript/data')
-rw-r--r-- | tests/auto/declarative/qmlecmascript/data/scriptErrors.js | 2 | ||||
-rw-r--r-- | tests/auto/declarative/qmlecmascript/data/scriptErrors.qml | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlecmascript/data/scriptErrors.js b/tests/auto/declarative/qmlecmascript/data/scriptErrors.js new file mode 100644 index 0000000..1d7b357 --- /dev/null +++ b/tests/auto/declarative/qmlecmascript/data/scriptErrors.js @@ -0,0 +1,2 @@ +// Comment +a = 10 diff --git a/tests/auto/declarative/qmlecmascript/data/scriptErrors.qml b/tests/auto/declarative/qmlecmascript/data/scriptErrors.qml new file mode 100644 index 0000000..3fb8ff7 --- /dev/null +++ b/tests/auto/declarative/qmlecmascript/data/scriptErrors.qml @@ -0,0 +1,10 @@ +import Qt 4.6 + +Object { + Script { source: "scriptErrors.js" } + Script { function getValue() { a = 10; return 0; } } + + property int x: a.value + property int y: getValue(); +} + |