You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Fix typo in GDScript narrowing conversion warning message
This closes #26790.
This commit is contained in:
@@ -1965,7 +1965,7 @@ String GDScriptWarning::get_message() const {
|
|||||||
return "Assignment operation, but the function '" + symbols[0] + "()' returns void.";
|
return "Assignment operation, but the function '" + symbols[0] + "()' returns void.";
|
||||||
} break;
|
} break;
|
||||||
case NARROWING_CONVERSION: {
|
case NARROWING_CONVERSION: {
|
||||||
return "Narrowing coversion (float is converted to int and lose precision).";
|
return "Narrowing conversion (float is converted to int and loses precision).";
|
||||||
} break;
|
} break;
|
||||||
case FUNCTION_MAY_YIELD: {
|
case FUNCTION_MAY_YIELD: {
|
||||||
CHECK_SYMBOLS(1);
|
CHECK_SYMBOLS(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user