diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2011-08-08 10:54:48 +0200 |
---|---|---|
committer | Christian Kamm <christian.d.kamm@nokia.com> | 2011-08-08 12:04:49 +0200 |
commit | ed1321a4f95d4ecbbd96794ec355cfc7984cfb2d (patch) | |
tree | 332bcd6c8226932b6f6a9f9352e7ba211c055ef0 /src/plugins/qmljseditor | |
parent | 97a2cc53cfc7dcb1fa2e8ec2e50c57e4d274f0c5 (diff) | |
download | qt-creator-ed1321a4f95d4ecbbd96794ec355cfc7984cfb2d.tar.gz |
QmlJS: Resolve references while evaluating expressions.
Task-number: QTCREATORBUG-5752
Change-Id: Ibcdaac039a5e862d7a8f03f58c8bf017b544e436
Reviewed-on: http://codereview.qt.nokia.com/2736
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
Diffstat (limited to 'src/plugins/qmljseditor')
-rw-r--r-- | src/plugins/qmljseditor/qmljscompletionassist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmljseditor/qmljscompletionassist.cpp b/src/plugins/qmljseditor/qmljscompletionassist.cpp index 1784c3cb9d..031447eb5f 100644 --- a/src/plugins/qmljseditor/qmljscompletionassist.cpp +++ b/src/plugins/qmljseditor/qmljscompletionassist.cpp @@ -616,7 +616,7 @@ IAssistProposal *QmlJSCompletionAssistProcessor::perform(const IAssistInterface Interpreter::ValueOwner *interp = lookupContext->valueOwner(); const Interpreter::Value *value = interp->convertToObject(lookupContext->evaluate(expression)); - //qDebug() << "type:" << interp.typeId(value); + //qDebug() << "type:" << interp->typeId(value); if (value && completionOperator == QLatin1Char('.')) { // member completion EnumerateProperties enumerateProperties(context); |