You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix typos with codespell
Using codespell 1.15.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
This commit is contained in:
@@ -7473,7 +7473,7 @@ void GDScriptParser::_check_class_level_types(ClassNode *p_class) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Replace assignment with implict conversion
|
||||
// Replace assignment with implicit conversion
|
||||
BuiltInFunctionNode *convert = alloc_node<BuiltInFunctionNode>();
|
||||
convert->line = v.line;
|
||||
convert->function = GDScriptFunctions::TYPE_CONVERT;
|
||||
@@ -7837,14 +7837,14 @@ void GDScriptParser::_check_block_types(BlockNode *p_block) {
|
||||
if (_is_type_compatible(assign_type, lv->datatype)) {
|
||||
_mark_line_as_unsafe(lv->line);
|
||||
} else {
|
||||
// Try implict conversion
|
||||
// Try implicit conversion
|
||||
if (lv->datatype.kind != DataType::BUILTIN || !_is_type_compatible(lv->datatype, assign_type, true)) {
|
||||
_set_error("Assigned value type (" + assign_type.to_string() + ") doesn't match the variable's type (" +
|
||||
lv->datatype.to_string() + ").",
|
||||
lv->line);
|
||||
return;
|
||||
}
|
||||
// Replace assignment with implict conversion
|
||||
// Replace assignment with implicit conversion
|
||||
BuiltInFunctionNode *convert = alloc_node<BuiltInFunctionNode>();
|
||||
convert->line = lv->line;
|
||||
convert->function = GDScriptFunctions::TYPE_CONVERT;
|
||||
@@ -7968,14 +7968,14 @@ void GDScriptParser::_check_block_types(BlockNode *p_block) {
|
||||
if (_is_type_compatible(rh_type, lh_type)) {
|
||||
_mark_line_as_unsafe(op->line);
|
||||
} else {
|
||||
// Try implict conversion
|
||||
// Try implicit conversion
|
||||
if (lh_type.kind != DataType::BUILTIN || !_is_type_compatible(lh_type, rh_type, true)) {
|
||||
_set_error("Assigned value type (" + rh_type.to_string() + ") doesn't match the variable's type (" +
|
||||
lh_type.to_string() + ").",
|
||||
op->line);
|
||||
return;
|
||||
}
|
||||
// Replace assignment with implict conversion
|
||||
// Replace assignment with implicit conversion
|
||||
BuiltInFunctionNode *convert = alloc_node<BuiltInFunctionNode>();
|
||||
convert->line = op->line;
|
||||
convert->function = GDScriptFunctions::TYPE_CONVERT;
|
||||
|
||||
Reference in New Issue
Block a user