File tree Expand file tree Collapse file tree
conformance/results/pyrefly Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,10 +6,16 @@ Does not allow non-data descriptors as dataclass fields.
66conformance_automated = " Fail"
77errors_diff = """
88Line 33: Unexpected errors ['Cannot set field `y` to data descriptor `Desc1` with inconsistent types [bad-class-definition]']
9+ Line 83: Unexpected errors ['assert_type(int, Desc2[int]) failed [assert-type]']
10+ Line 84: Unexpected errors ['assert_type(str, Desc2[str]) failed [assert-type]']
911Line 85: Unexpected errors ['assert_type(str, Desc2[str]) failed [assert-type]']
1012"""
1113output = """
1214ERROR dataclasses_descriptors.py:33:5-6: Cannot set field `y` to data descriptor `Desc1` with inconsistent types [bad-class-definition]
1315ERROR dataclasses_descriptors.py:67:5-6: Cannot set field `z` to non-data descriptor `Desc2` [bad-class-definition]
16+ ERROR dataclasses_descriptors.py:74:12-31: assert_type(list[int], Desc2[int]) failed [assert-type]
17+ ERROR dataclasses_descriptors.py:75:12-31: assert_type(list[str], Desc2[str]) failed [assert-type]
18+ ERROR dataclasses_descriptors.py:83:12-31: assert_type(int, Desc2[int]) failed [assert-type]
19+ ERROR dataclasses_descriptors.py:84:12-31: assert_type(str, Desc2[str]) failed [assert-type]
1420ERROR dataclasses_descriptors.py:85:12-31: assert_type(str, Desc2[str]) failed [assert-type]
1521"""
You can’t perform that action at this time.
0 commit comments