blob: 03f90c15c8efe68008f9e86cfa8f543db15d9ced (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import QtQml 2.0
QtObject {
property bool someProperty: true
function testCall() {
try {
someProperty(); // should throw
return false
} catch (e) {
return true
}
}
}
|