Compilation of comparison operator chaining