diff options
author | Marcus Klaas de Vries <[email protected]> | 2019-01-05 20:28:30 +0000 |
---|---|---|
committer | Marcus Klaas de Vries <[email protected]> | 2019-01-05 20:28:30 +0000 |
commit | 4fc233a02e8dc07619a969400c445ec47c2b1a9d (patch) | |
tree | dae33907a38b7c4ed9d1a63ff38803e99f1ae6df /crates/ra_hir/src/ty/tests/data | |
parent | 3e42a158787955ff9f2e81be43479dbe8f2b1bb6 (diff) |
Implement type inference for boolean operators
Diffstat (limited to 'crates/ra_hir/src/ty/tests/data')
-rw-r--r-- | crates/ra_hir/src/ty/tests/data/0008_boolean_op.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crates/ra_hir/src/ty/tests/data/0008_boolean_op.txt b/crates/ra_hir/src/ty/tests/data/0008_boolean_op.txt new file mode 100644 index 000000000..cc07cdccb --- /dev/null +++ b/crates/ra_hir/src/ty/tests/data/0008_boolean_op.txt | |||
@@ -0,0 +1,10 @@ | |||
1 | [21; 22) 'x': bool | ||
2 | [68; 69) 'z': bool | ||
3 | [72; 78) 'x == y': bool | ||
4 | [45; 58) 'true || false': bool | ||
5 | [11; 125) '{ ... < 3 }': bool | ||
6 | [117; 123) '10 < 3': bool | ||
7 | [88; 89) 'h': bool | ||
8 | [41; 42) 'y': bool | ||
9 | [92; 110) 'CONST_...ONST_2': bool | ||
10 | [25; 31) 'a && b': bool | ||