aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@qt.io>2019-10-07 09:52:52 +0200
committerNikolai Kosjar <nikolai.kosjar@qt.io>2019-10-07 08:03:46 +0000
commitea0b7e456338d5831ad0065b6e1361ceef66133b (patch)
treed11f1b178ac8f0f5ee0a97fae07d8e62c7e17ca8 /tests/auto
parent942ff625fe9417ae19691c0476a3342e7cdeee7a (diff)
QmlJS: Fix build of tst_check.cpp
tst_check.cpp:151:36: error: reference to 'Type' is ambiguous In file included from src/libs/qmljs/qmljscheck.h:30:0, src/libs/qmljs/qmljsstaticanalysismessage.h:42:6: note: candidates are: enum QmlJS::StaticAnalysis::Type src/libs/qmljs/parser/qmljsast_p.h:347:46: note: class QmlJS::AST::Type Change-Id: I2f2af3e19fc0cbb7cef359c28d5f5d1505778882 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qml/codemodel/check/tst_check.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/codemodel/check/tst_check.cpp b/tests/auto/qml/codemodel/check/tst_check.cpp
index 9f5207284b..ad5a976501 100644
--- a/tests/auto/qml/codemodel/check/tst_check.cpp
+++ b/tests/auto/qml/codemodel/check/tst_check.cpp
@@ -148,7 +148,7 @@ void tst_Check::test()
columnEnd - columnStart,
comment.startLine,
columnStart),
- message.type = static_cast<Type>(type);
+ message.type = static_cast<QmlJS::StaticAnalysis::Type>(type);
expectedMessages += message;
}