Antonio Maiorano f1b643ee70 Improve binary expression validation error message
Example:
```
  var a : i32;
  var b : f32;
  if (a == b) {
    return vec4<f32>(0.4, 0.4, 0.8, 1.0);
  }
```

Outputs:
```
error: test7.wgsl:6:9 error: Binary expression operand types are invalid for this operation: i32 equal f32
  if (a == b) {
        ^^
```

Bug: tint:663
Change-Id: Idd2bb5a248b3c7d652483931d7dd58d5123e9ee8
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/46640
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2021-04-01 19:40:37 +00:00
..
2021-03-22 16:06:35 +00:00
2021-03-09 11:11:17 +00:00
2021-03-22 16:06:35 +00:00
2021-03-09 11:11:17 +00:00
2020-03-02 15:47:43 -05:00
2020-03-02 15:47:43 -05:00
2021-03-22 16:06:35 +00:00
2021-03-09 11:11:17 +00:00
2021-03-09 11:11:17 +00:00
2021-03-18 21:03:24 +00:00
2021-03-09 11:11:17 +00:00
2021-03-22 16:06:35 +00:00
2020-03-02 15:47:43 -05:00
2020-03-02 15:47:43 -05:00
2021-03-29 21:21:35 +00:00