diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2014-02-26 18:43:28 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-02 17:10:51 +0100 |
commit | 16e70231d7b59b5ab181597c295253cccb80b235 (patch) | |
tree | 581fcd249621af26dc53d4eb4387e1f94d8f966f /src/qml/qml/qqmlcompiler.cpp | |
parent | b4e67a087e49e1a976a98977efc29e279285ae55 (diff) |
Add a column to the default method error message
This brings both compilers in sync by reporting line and column if doing a signal object
assignment without a default method.
Change-Id: I8b1bf90c4ce3cd7b117ad7eecdbfe319b07b1191
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlcompiler.cpp')
-rw-r--r-- | src/qml/qml/qqmlcompiler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlcompiler.cpp b/src/qml/qml/qqmlcompiler.cpp index 3e2fc91cf5..aefd3018c9 100644 --- a/src/qml/qml/qqmlcompiler.cpp +++ b/src/qml/qml/qqmlcompiler.cpp @@ -1343,6 +1343,7 @@ void QQmlCompiler::genObjectBody(QQmlScript::Object *obj) Instruction::AssignSignalObject assign; assign.line = v->location.start.line; + assign.column = v->location.start.column; assign.signal = output->indexForString(prop->name().toString()); output->addInstruction(assign); |