aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/parser/qqmljs.g
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-10-18 15:42:10 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-21 15:18:15 +0200
commit8a6fadb39aec58f373ef24f39d39f7fbc050277d (patch)
tree60c3249feaee94d1b48f2fafb4d26af54b58ab26 /src/qml/parser/qqmljs.g
parent486d367e8086e63f51707e78c07ef77fa6240f0a (diff)
Revert commit d818575966e2e2000fe2b7ee390c620f595d9825
This reverts the commit that deprecated the with statement and added a note to the docs that binding expressions will be compiled in strict mode in Qt 5.2. It turns out that we had to keep the with statement and enabling strict mode breaks just too much unfortunately. Change-Id: Id38c27f684fbfcb6b6b848be8f691658089d1adb Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/parser/qqmljs.g')
-rw-r--r--src/qml/parser/qqmljs.g4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/qml/parser/qqmljs.g b/src/qml/parser/qqmljs.g
index 8cc68e3643..de4fec4d56 100644
--- a/src/qml/parser/qqmljs.g
+++ b/src/qml/parser/qqmljs.g
@@ -2679,10 +2679,6 @@ case $rule_number: {
node->lparenToken = loc(2);
node->rparenToken = loc(4);
sym(1).Node = node;
- if (lexer->qmlMode()) {
- const QString msg = qApp->translate("QQmlParser", "Deprecated JavaScript `with' statement detected in QML expression. Support for this will be removed in Qt 5.2!");
- diagnostic_messages.append(DiagnosticMessage(DiagnosticMessage::Warning, node->withToken, msg));
- }
} break;
./