From bb9a00889ac9ce6f33adb34a583208e3843c3f92 Mon Sep 17 00:00:00 2001 From: jordi Date: Wed, 23 Mar 2022 12:54:41 -0500 Subject: Add hint for identifiers renamed since Godot 3 --- modules/gdscript/gdscript_warning.h | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/gdscript/gdscript_warning.h') 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, }; -- cgit v1.2.3