Skip to content

Commit e439275

Browse files
committed
conformance: fix pyrefly dataclasses_descriptors TOML with missing error lines
1 parent 436ccfd commit e439275

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

conformance/results/pyrefly/dataclasses_descriptors.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,16 @@ Does not allow non-data descriptors as dataclass fields.
66
conformance_automated = "Fail"
77
errors_diff = """
88
Line 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]']
911
Line 85: Unexpected errors ['assert_type(str, Desc2[str]) failed [assert-type]']
1012
"""
1113
output = """
1214
ERROR dataclasses_descriptors.py:33:5-6: Cannot set field `y` to data descriptor `Desc1` with inconsistent types [bad-class-definition]
1315
ERROR 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]
1420
ERROR dataclasses_descriptors.py:85:12-31: assert_type(str, Desc2[str]) failed [assert-type]
1521
"""

0 commit comments

Comments
 (0)