### Godot version

4.0 Beta10

### System information

Windows 10, Vulkan, GTX1060

### Issue description

`PropertyTweener`'s methods' return value are not discarded and effect the unary operator at next line.

In Editor:
![in_editor](https://user-images.githubusercontent.com/61624558/210715100-04bdf283-7954-4be3-94ca-338987b24c5b.png)


In cpp:
![in_cpp](https://user-images.githubusercontent.com/61624558/210715127-519f6d54-fc15-468f-9aca-ba7d387a5a7b.png)


### Steps to reproduce

Just run the Minimal reproduction project.

### Minimal reproduction project

[Bug Report.zip](https://github.com/godotengine/godot/files/10349829/Bug.Report.zip)

return;
	}
	GDScriptParser::DataType assignee_type = p_assignment->assignee->get_datatype();
	
	if (assignee_type.has_container_element_type() && p_assignment->assigned_value->type == GDScriptParser::Node::ARRAY) {
		update_array_literal_element_type(assignee_type, static_cast<GDScriptParser::ArrayNode *>(p_assignment->assigned_value));
	}
	GDScriptParser::DataType assigned_value_type = p_assignment->assigned_value->get_datatype();
	if (assignee_type.is_constant) {
		push_error("Cannot assign a new value to a constant.", p_assignment->assignee);
	}
	bool compatible = true;
	GDScriptParser::DataType op_type = assigned_value_type;
	if (p_assignment->operation != GDScriptParser::AssignmentNode::OP_NONE) {
		op_type = get_operation_type(p_assignment->variant_op, assignee_type, assigned_value_type, compatible, p_assignment->assigned_value);
	}
	p_assignment->set_datatype(op_type);
	if (assignee_type.is_hard_type() && !assignee_type.is_variant() && op_type.is_hard_type()) {
		if (compatible) {
			compatible = is_type_compatible(assignee_type, op_type, true, p_assignment->assigned_value);
			if (!compatible) {
				
				if (!is_type_compatible(op_type, assignee_type, true)) {
					push_error(vformat(R"(Cannot assign a value of type "%s" to a target of type "%s".)", assigned_value_type.to_string(), assignee_type.to_string()), p_assignment->assigned_value);
				} else {
					
					mark_node_unsafe(p_assignment);
					p_assignment->use_conversion_assign = true;
				}
			}