Use V4 binding for non-final properties where possible
[profile/ivi/qtdeclarative.git] / tests / auto / qml / qqmlecmascript / data / tryStatement.3.qml
1 import Qt.test 1.0
2
3 MyQmlObject {
4     property int defaultValue: 123
5
6     function go() {
7         undefinedObject.method() // this call will throw an exception
8         return 321
9     }
10
11     value: try { var p = go() } catch(e) { var p = defaultValue } finally { p == 123 }
12 }
13