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:
Thomas Hartmann
2017-03-30 13:51:18 +02:00
parent 5afc149b69
commit 7ff7aefeb3
3 changed files with 12 additions and 8 deletions

View File

@@ -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
};
}