-
Notifications
You must be signed in to change notification settings - Fork 293
Expand file tree
/
Copy pathdataclasses_final.toml
More file actions
10 lines (10 loc) · 1.03 KB
/
dataclasses_final.toml
File metadata and controls
10 lines (10 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
conformance_automated = "Pass"
errors_diff = """
"""
output = """
dataclasses_final.py:27:1: error[invalid-assignment] Cannot assign to final attribute `final_classvar` on type `<class 'D'>`: `Final` attributes can only be assigned in the class body or `__init__`
dataclasses_final.py:35:1: error[invalid-assignment] Cannot assign to final attribute `final_no_default` on type `D`: `Final` attributes can only be assigned in the class body or `__init__`
dataclasses_final.py:36:1: error[invalid-assignment] Cannot assign to final attribute `final_with_default` on type `D`: `Final` attributes can only be assigned in the class body or `__init__`
dataclasses_final.py:37:1: error[invalid-assignment] Cannot assign to final attribute `final_no_default` on type `<class 'D'>`: `Final` attributes can only be assigned in the class body or `__init__`
dataclasses_final.py:38:1: error[invalid-assignment] Cannot assign to final attribute `final_with_default` on type `<class 'D'>`: `Final` attributes can only be assigned in the class body or `__init__`
"""