From cf49a11263c4d48720250db0c448b97dbec3d8b9 Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Sun, 6 Jan 2019 23:01:33 +0100 Subject: Sort ranges in type inference tests Also rename the files to remove the numbers (they don't serve a purpose now that there are only the data files). --- crates/ra_hir/src/ty/tests/data/struct.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 crates/ra_hir/src/ty/tests/data/struct.txt (limited to 'crates/ra_hir/src/ty/tests/data/struct.txt') diff --git a/crates/ra_hir/src/ty/tests/data/struct.txt b/crates/ra_hir/src/ty/tests/data/struct.txt new file mode 100644 index 000000000..7b324c82f --- /dev/null +++ b/crates/ra_hir/src/ty/tests/data/struct.txt @@ -0,0 +1,16 @@ +[72; 154) '{ ...a.c; }': () +[82; 83) 'c': [unknown] +[86; 87) 'C': [unknown] +[86; 90) 'C(1)': [unknown] +[88; 89) '1': [unknown] +[96; 97) 'B': [unknown] +[107; 108) 'a': A +[114; 133) 'A { b:...C(1) }': A +[121; 122) 'B': B +[127; 128) 'C': [unknown] +[127; 131) 'C(1)': C +[129; 130) '1': [unknown] +[139; 140) 'a': A +[139; 142) 'a.b': B +[148; 149) 'a': A +[148; 151) 'a.c': C -- cgit v1.2.3