summaryrefslogtreecommitdiff
path: root/modules/gdscript/gdscript_warning.h
diff options
context:
space:
mode:
authorjordi <creptthrust@gmail.com>2022-03-23 12:54:41 -0500
committerjordi <creptthrust@gmail.com>2023-01-24 12:33:55 -0600
commitbb9a00889ac9ce6f33adb34a583208e3843c3f92 (patch)
treed0dcb210127d7fdd2322e5edf0ec862561777a02 /modules/gdscript/gdscript_warning.h
parent9de0c73e4529afe3ea060332a03e17cc0581efd8 (diff)
Add hint for identifiers renamed since Godot 3
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 b485f02b9c..96db3ed19c 100644
--- a/modules/gdscript/gdscript_warning.h
+++ b/modules/gdscript/gdscript_warning.h
@@ -79,6 +79,7 @@ public:
INT_ASSIGNED_TO_ENUM, // An integer value was assigned to an enum-typed variable without casting.
STATIC_CALLED_ON_INSTANCE, // A static method was called on an instance of a class instead of on the class itself.
CONFUSABLE_IDENTIFIER, // The identifier contains misleading characters that can be confused. E.g. "usеr" (has Cyrillic "е" instead of Latin "e").
+ RENAMED_IN_GD4_HINT, // A variable or function that could not be found has been renamed in Godot 4
WARNING_MAX,
};