Add GDScript slave keyword deprecation warning.

This commit is contained in:
Fabio Alessandrelli 2018-09-15 01:45:43 +02:00
parent 1e9b46d687
commit c0e4d7efca
3 changed files with 7 additions and 0 deletions

View file

@ -289,6 +289,7 @@ struct GDScriptWarning {
UNSAFE_METHOD_ACCESS, // Function not found in the detected type (but can be in subtypes)
UNSAFE_CAST, // Cast used in an unknown type
UNSAFE_CALL_ARGUMENT, // Function call argument is of a supertype of the require argument
DEPRECATED_KEYWORD, // The keyword is deprecated and should be replaced
WARNING_MAX,
} code;
Vector<String> symbols;