From ea0b7e456338d5831ad0065b6e1361ceef66133b Mon Sep 17 00:00:00 2001 From: Nikolai Kosjar Date: Mon, 7 Oct 2019 09:52:52 +0200 Subject: [PATCH] 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 --- tests/auto/qml/codemodel/check/tst_check.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/qml/codemodel/check/tst_check.cpp b/tests/auto/qml/codemodel/check/tst_check.cpp index 9f5207284be..ad5a9765014 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); + message.type = static_cast(type); expectedMessages += message; }