projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Rename QDeclarative symbols to QQuick and QQml
[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