Can't chain relational expressions for pointers
Submitted by bob..@..131.so
Link to original bug (#777975)
Description
Chained pointer relational test
int main (string[] args) {
message ((&args[0] < &args[1] < &args[2]).to_string ());
return 0;
}
Trying to chain pointer comparisons yields the following error:
test.vala:2.15-2.44: error: Relational operation not supported for types `bool' and `string**'
message ((&args[0] < &args[1] < &args[2]).to_string ());
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Version: 0.34.x