basic-types/bug659975.vala \
basic-types/bug678791.vala \
basic-types/bug686336.vala \
+ basic-types/bug729907.vala \
namespaces.vala \
methods/lambda.vala \
methods/closures.vala \
--- /dev/null
+void main () {
+ assert (false ^ true == true);
+ assert (true ^ true == false);
+ assert (false ^ false == false);
+}
\ No newline at end of file
}
} else if (operator == BinaryOperator.MOD
|| operator == BinaryOperator.SHIFT_LEFT
- || operator == BinaryOperator.SHIFT_RIGHT
- || operator == BinaryOperator.BITWISE_XOR) {
+ || operator == BinaryOperator.SHIFT_RIGHT) {
left.target_type.nullable = false;
right.target_type.nullable = false;
value_type = context.analyzer.bool_type;
} else if (operator == BinaryOperator.BITWISE_AND
- || operator == BinaryOperator.BITWISE_OR) {
+ || operator == BinaryOperator.BITWISE_OR
+ || operator == BinaryOperator.BITWISE_XOR) {
// integer type or flags type
left.target_type.nullable = false;
right.target_type.nullable = false;