Commit 0d5352b
committed
Pyright, ty, and Pyrefly handle frozen
```
import attrs
@attrs.frozen
class C:
x: int
i = C(42)
i.x = 23
```
/Users/hynek/FOSS/attrs/t.py
/Users/hynek/FOSS/attrs/t.py:9:3 - error: Cannot assign to attribute
"x" for class "C"
Attribute "x" is read-only (reportAttributeAccessIssue)
1 error, 0 warnings, 0 informations1 parent 92081e0 commit 0d5352b
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | | - | |
113 | 111 | | |
114 | 112 | | |
115 | 113 | | |
| |||
0 commit comments