summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_warning.h
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-02-04 13:49:15 +0100
committerGitHub <noreply@github.com>2022-02-04 13:49:15 +0100
commit89eb6d372d83f0e79ff7bcc78c304a37bed72abe (patch)
treee82dea1789ceaaf838c99e52777041f639088f33 /modules/gdscript/gdscript_warning.h
parent225a3b2545691148dbcb2acf94e4fada024e809d (diff)
parentceafdf347e5ecc050629fd4eac93030dabb0d0e9 (diff)
downloadredot-engine-89eb6d372d83f0e79ff7bcc78c304a37bed72abe.tar.gz
Merge pull request #57591 from vnen/gdscript-enum-fixes
Diffstat (limited to 'modules/gdscript/gdscript_warning.h')
-rw-r--r--modules/gdscript/gdscript_warning.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_warning.h b/modules/gdscript/gdscript_warning.h
index 112b40781a..82efe3568f 100644
--- a/modules/gdscript/gdscript_warning.h
+++ b/modules/gdscript/gdscript_warning.h
@@ -70,6 +70,7 @@ public:
REDUNDANT_AWAIT, // await is used but expression is synchronous (not a signal nor a coroutine).
EMPTY_FILE, // A script file is empty.
SHADOWED_GLOBAL_IDENTIFIER, // A global class or function has the same name as variable.
+ INT_ASSIGNED_TO_ENUM, // An integer value was assigned to an enum-typed variable without casting.
WARNING_MAX,
};