forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -148,7 +148,7 @@ void tst_Check::test()
|
|||||||
columnEnd - columnStart,
|
columnEnd - columnStart,
|
||||||
comment.startLine,
|
comment.startLine,
|
||||||
columnStart),
|
columnStart),
|
||||||
message.type = static_cast<Type>(type);
|
message.type = static_cast<QmlJS::StaticAnalysis::Type>(type);
|
||||||
expectedMessages += message;
|
expectedMessages += message;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user