forked from qt-creator/qt-creator
QmlJS: Add special severity for loading type information
The designer has to be able to handle this error/warning explicitly. To be able to identify the warning I added a special severity. Change-Id: I99571497f7327a7857244ef48334c14a254c8ca0 Reviewed-by: Marco Benelli <marco.benelli@qt.io>
This commit is contained in:
@@ -56,11 +56,12 @@ enum Enum {
|
||||
namespace Severity {
|
||||
enum Enum
|
||||
{
|
||||
Hint, // cosmetic or convention
|
||||
MaybeWarning, // possibly a warning, insufficient information
|
||||
Warning, // could cause unintended behavior
|
||||
MaybeError, // possibly an error, insufficient information
|
||||
Error // definitely an error
|
||||
Hint, // cosmetic or convention
|
||||
MaybeWarning, // possibly a warning, insufficient information
|
||||
Warning, // could cause unintended behavior
|
||||
ReadingTypeInfoWarning, // currently dumping type information
|
||||
MaybeError, // possibly an error, insufficient information
|
||||
Error // definitely an error
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user