We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28aa7f1 commit 08be875Copy full SHA for 08be875
1 file changed
crates/ty_python_semantic/src/types/infer.rs
@@ -10946,7 +10946,7 @@ mod tests {
10946
let attr_ty = global_symbol(&db, file_main, "x").place.expect_type();
10947
assert_eq!(attr_ty.display(&db).to_string(), "Unknown | int");
10948
10949
- // Change the type of `attr` to `str | None`; this should trigger the type of `x` to be re-inferred
+ // Change the type of `class_attr` to `str`; this should trigger the type of `x` to be re-inferred
10950
db.write_dedented(
10951
"/src/mod.py",
10952
r#"
0 commit comments