Skip to content

Commit 0882b39

Browse files
stroxlermeta-codesync[bot]
authored andcommitted
Correct v1.4 unknown attribute diagnostic name
Summary: The v1.4 release notes and blog use `unknown-member-type`, the pre-review name for the new diagnostic. Use the shipped `unknown-attribute-access` name so users can enable the check. ___ landed-with-radar-review Differential Revision: D126079365 fbshipit-source-id: dc053308a9a5c7a17bbbca577f84ce31f2ed1b21
1 parent 729d177 commit 0882b39

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎release_notes/release-notes-v1.4.0.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Pyrefly v1.4.0 bundles **1191 commits** from **66 contributors**.
1717
### Type Checking
1818

1919
- **Easier migration from BasedPyright.** Pyrefly reads `basedpyright` sections in `pyproject.toml` and applies the matching type checking mode preset.
20-
- **New opt-in checks for untyped code.** New error kinds such as `unknown-member-type`, `unknown-return-type`, `untyped-function-decorator`, and `uninitialized-instance-variable` help you find where `Any` enters your code.
20+
- **New opt-in checks for untyped code.** New error kinds such as `unknown-attribute-access`, `unknown-return-type`, `untyped-function-decorator`, and `uninitialized-instance-variable` help you find where `Any` enters your code.
2121

2222
### Tensor Shapes
2323

@@ -135,7 +135,7 @@ These may change your editor setup or surface new errors in code that checked cl
135135

136136
### Error Reporting
137137

138-
- Added `unknown-member-type` error kind for accessing attributes whose type is unknown.
138+
- Added `unknown-attribute-access` error kind for accessing attributes whose type is unknown.
139139
- Fixed `unknown-variable-type` to report loop, unpacking, and `with` targets in addition to plain assignments.
140140
- Added `untyped-function-decorator` check for decorators that return unknown types.
141141
- Added `untyped-class-decorator` check for class decorators that return unknown types.

‎website/blog/2026-10-14-v1.4.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Tensor shape support remains experimental. See the [tensor shapes documentation]
9494

9595
- **`method-assign`** reports assignment to a method on an instance.
9696
- **Unreachable code** after an `if`/`else` where every branch returns or raises.
97-
- **Opt-in `Any` checks**, such as `unknown-member-type`, `unknown-return-type`, and `untyped-function-decorator`, help you find where `Any` enters your code.
97+
- **Opt-in `Any` checks**, such as `unknown-attribute-access`, `unknown-return-type`, and `untyped-function-decorator`, help you find where `Any` enters your code.
9898

9999
---
100100

0 commit comments

Comments
 (0)