You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #44011 from KoBeWi/red_roses_minus_blue_violets
Fix subtracting colors and quats
This commit is contained in:
@@ -1616,7 +1616,7 @@ void GDScriptAnalyzer::reduce_binary_op(GDScriptParser::BinaryOpNode *p_binary_o
|
||||
if (p_binary_op->reduced_value.get_type() == Variant::STRING) {
|
||||
push_error(vformat(R"(%s in operator %s.)", p_binary_op->reduced_value, Variant::get_operator_name(p_binary_op->variant_op)), p_binary_op);
|
||||
} else {
|
||||
push_error(vformat(R"(Invalid operands to operator %s, %s and %s.".)",
|
||||
push_error(vformat(R"(Invalid operands to operator %s, %s and %s.)",
|
||||
Variant::get_operator_name(p_binary_op->variant_op),
|
||||
Variant::get_type_name(p_binary_op->left_operand->reduced_value.get_type()),
|
||||
Variant::get_type_name(p_binary_op->right_operand->reduced_value.get_type())),
|
||||
|
||||
Reference in New Issue
Block a user